How to get verification that you’ve implemented all your API in a static library?

I just learned that static library building skips the linking stage, which explains why my build process succeeds all the time when it’s possible I actually haven’t implemented a function in my header. In an executable project, the linking stage would alert me if I had done this.

What is the typical workflow for static library developers to get that extra verification? Do you just write a test class separately that tries to invoke everything in your library API to ensure you’ve done your job right?

4

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *