Description
Had a thought the other day when talking to some folks about testing.
Our current integration tests can be broken down into two categories:
- Encapsulated (MiniCluster only)
- Capable of using a Standalone Accumulo instance (instead of a MiniCluster)
with any ITs that don't have MiniClusters (if there are any), I am lumping them into the Encapsulated category.
Now, if I have an environment set up which I can run these Standalone tests against, it would be nice to just be able to execute those tests. I could then run the unit tests, checkstyle, findbugs, and encapsulated integration tests out of band, not tied to the lifetime (and cost) of that environment for the Standalone tests.
It would be nice if we can use something like JUnit categories to group these tests and then provide the "hooks" in the build to let users specify which categories are executed.
Attachments
Issue Links
- is duplicated by
-
ACCUMULO-3370 Integration tests runs should be controlled via junit categories
- Resolved
- is related to
-
ACCUMULO-4432 Write test to assert that all ITs are categorized
- Resolved
- links to
1.
|
Annotate CyclicReplicationIT | Resolved | Christopher Tubbs |
|
||||||||
2.
|
plugin-it failing because expected file does not exist | Resolved | Christopher Tubbs |
|
||||||||
3.
|
Create SunnyDay test category | Resolved | Christopher Tubbs |
|
||||||||
4.
|
Fix use of deprecated Timeout JUnit rule constructor | Resolved | Christopher Tubbs |
|
||||||||
5.
|
Create test categories for more common groups of related tests | Resolved | Christopher Tubbs | |||||||||
6.
|
Make performance test category usage consistent with other categories | Resolved | Christopher Tubbs |
|