New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categorized strategy #283

Closed
MatousJobanek opened this Issue Dec 8, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@MatousJobanek
Contributor

MatousJobanek commented Dec 8, 2017

Issue Overview

Implement categorized strategy that would select/order tests based on JUnit 4 @Category annotation.
Create appropriate logic and configuration so the strategy is able to check the classes to be run and select those that:

  • has any category of the specified categories
  • has exactly the same list of categories as specified in config
  • doesn't have any of the specified categories

@MatousJobanek MatousJobanek self-assigned this Dec 8, 2017

MatousJobanek added a commit to MatousJobanek/smart-testing that referenced this issue Dec 12, 2017

feat(arquillian#283): added categorized strategy
* the name of the strategy is categorized
* selects tests based on JUnit 4 annotation Category
* doesn't expect only fqn of the catogory classes, but simple name can
be used
* is possible to set
  * case sensitivity
  * if it should match all specified categories or if one is enough
  * reversed function - selects that don't match

MatousJobanek added a commit to MatousJobanek/smart-testing that referenced this issue Dec 12, 2017

feat(arquillian#283): added categorized strategy
* the name of the strategy is categorized
* selects tests based on JUnit 4 annotation Category
* doesn't expect only fqn of the catogory classes, but simple name can
be used
* is possible to set
  * case sensitivity
  * if it should match all specified categories or if one is enough
  * reversed function - selects that don't match

@MatousJobanek MatousJobanek referenced this issue Dec 12, 2017

Merged

feat(#283): added categorized strategy #292

1 of 1 task complete

MatousJobanek added a commit to MatousJobanek/smart-testing that referenced this issue Dec 13, 2017

feat(arquillian#283): added categorized strategy
* the name of the strategy is categorized
* selects tests based on JUnit 4 annotation Category
* doesn't expect only fqn of the catogory classes, but simple name can
be used
* is possible to set
  * case sensitivity
  * if it should match all specified categories or if one is enough
  * reversed function - selects that don't match

@bartoszmajsak bartoszmajsak added this to the 0.0.6 milestone Dec 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment