tpunitpp icon indicating copy to clipboard operation
tpunitpp copied to clipboard

Add ability to run only one TestFixture?

Open flodnv opened this issue 9 years ago • 2 comments

Hi @tpounds,

As our usage of your mini-library grows, our list of unit tests is getting longer and longer to run. I was wondering and wanted to ask you: have you thought about adding a way to run only one specific TestFixture (like by its struct name) ?

Thanks for your time

flodnv avatar Nov 10 '15 16:11 flodnv

@flodnv: I definitely think this would be a useful addition to the library. I was thinking the best way to support this would be to add some filter options that could be passed in to the generated binary.

./a.out --include=FooFixture --include=BarFixture ./a.out --exclude=BazFixture

Let me know if this sounds reasonable to you.

Out of curiosity how many tests are you running with tpunit?

tpounds avatar Nov 11 '15 06:11 tpounds

I was thinking the best way to support this would be to add some filter options that could be passed in to the generated binary.

Yep, sounds great.

As of now we have 130 test methods, and the list is growing every week/month :)

flodnv avatar Nov 11 '15 10:11 flodnv