ukapu2005
asked on
How to write Test Cases for C Language Functions
Can anyone please let me know How to write Test Cases for C Language Functions.
Are there any good websites which can provide good info on this.
Thanks
Are there any good websites which can provide good info on this.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you looking for unit level test case?
If so you may need unit test frame work. Variety of frame works available for C language
Cunit ,CuTest ,SimplecTest etc:
I suggest this is the best way.
Additionally these points may help you when writing Test cases for C.
- Since C is a procedural level programming language, there is verity of functions available.
Testing is depends on the way you are testing and the requirement of your test.
For ex:
If you test a few branches up from the leaves that makes you component testing
- Depends on your branch functions , you may even lead to system testing once you have stated to perform unit testing
Please feel free to post me back for further information.
If so you may need unit test frame work. Variety of frame works available for C language
Cunit ,CuTest ,SimplecTest etc:
I suggest this is the best way.
Additionally these points may help you when writing Test cases for C.
- Since C is a procedural level programming language, there is verity of functions available.
Testing is depends on the way you are testing and the requirement of your test.
For ex:
If you test a few branches up from the leaves that makes you component testing
- Depends on your branch functions , you may even lead to system testing once you have stated to perform unit testing
Please feel free to post me back for further information.
http://www.thescripts.com/forum/thread534298.html