| || |
I'm new in SQA and was hoping to get some advise here. I need to test some C/C++ SDKs, what tool should I use? Or how do I get started?
Re: SDK Testing
Can you please elaborate? What must be the outcomes of your testing? Are you testing developer tools, APIs, etc? If so, would not the development environment contain the pieces/parts you need to validate correctness of the targeted pieces/parts??
Re: SDK Testing
While definitions vary, my understanding of a C/C++ SDK is a set of program modules to be included within another program to provide specific additional functionality. The SDK is usually either provided as C/C++ source, statically linked libraries (.LIBs), or dynamically linked libraries (.DLLs). A good SDK will usually include a number of samples, and documentation on how to use the SDK. While COM functionality in DLLs can be tested via scripting, most other C/C++ SDK delivery formats cannot.
The way that I test such SDKs is to write test harnesses to exercise the functions I want, either directly or by exposing them to a GUI interface such that they can be manually tested. I usually limit the harness to thoroughly testing the aspects of the SDK I want to use, rather than the whole SDK, as modern SDKs tend to be large and the amount of functionality required by any one application comparitively small.
The tools required, a C/C++ compiler, and any other development and testing tools you typically use.
To get started, write a small program that fires up the SDK, calls a single SDK function, verifies the result, and shuts down.
Please follow this link for a previous example of calling an external C library, and remember that the search tool on the top right hand corner of this screen is your friend.