On 2020-03-17 06:52 +0100, Sebastian Huber wrote:
> So you would not use test classes to group tests for a specific class?

No I would not typically grouping tests involves keeping them in separate 
files.  
You gain no advantage to keeping them all in one large file.  You can also use 
directory structures to do this as well.

Test classes are useful if you need to do setup and tear down.  For instance 
instantiating a class that all the tests run on or starting / stopping hardware 
you are testing.

Otherwise keep them as plain functions.


Amar.
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to