Menu

#2 testCase with same name but different testSuite

open
nobody
None
5
2007-01-04
2007-01-04
Anonymous
No

If you create two test case with same name in two different file and different testSuite, only one is executed because the macro create one class.
Solution is to define a new macro with composite class name <testSuite><testCase>.

Solution (inside util--.h):
#define testCaseExt(thisCase, upperSuite) \ testCasePrefix(upperSuite##thisCase, upperSuite, added_)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.