Skip to content

Tool to categorize tests based on envirnment variable passed to execution (e.g through maven surefire)

License

Notifications You must be signed in to change notification settings

rulien/categorize-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this ?

This project is about categorizing your junit 4.7> based tests in a good manner. The reason i say 4.7> is that from that time there was added @Rule
which is a brilliant feature to take control of a test without specifying a Runner. A Runner always gives you a certain way run a test and often with 
some additional setup. You don't wanna be forced to do that :-)

Programmer guide to categorize-test :

The easy way to categorize using my Rule is to either make your own subclass and insert this code snippet

@Rule public Categorizable categorizable = new Categorizable();

Or you can extend no.kodemaker.categorize.junit.AbstractCategorizeTest


TODO fill inn for spock

About

Tool to categorize tests based on envirnment variable passed to execution (e.g through maven surefire)

Resources

License

Stars

Watchers

Forks

Packages

No packages published