Smart Testing 0.0.4 Released
Since we wrote this post we didn't laze around. Check our latest announcement.
The Arquillian team is proud to announce the 0.0.4 release of the Smart Testing component!
Highlights of this release
In this release we shipped two key new features – support for JUnit 5 and declarative way of defining relations between tests and business code. And bunch of fixes.
Annotations for affected tests
Starting from this release you are able to use declarative way of defining relationship between test and business code. By default affected strategy uses imports declared in the tests to build the graph of collaborators. This approach is fine for unit tests (white box tests) but might not work for higher level tests (black box test).
Using annotation like below you can define classes or packages which particular test covers.
@ComponentUnderTest(packages = "org.acme.main.superbiz.*")
public class AcmeServiceRestTest { ... }
Check our detailed documentation on how to use it.
What’s next
We continue improving the tool so watch out for more!
What is Smart Testing?
Smart Testing is a tool that speeds up the test running phase by reordering test execution plan to increase a probability of fail-fast execution and thus give you faster feedback about your project’s health.
Release details
Component | Smart Testing |
---|---|
Version | 0.0.4 view tag |
Release date | 2017-11-14 |
Released by | Bartosz Majsak |
Compiled against |
Published artifacts org.arquillian.smart.testing
- org.arquillian.smart.testing » core jar javadoc pom
- org.arquillian.smart.testing » api jar javadoc pom
- org.arquillian.smart.testing » surefire-provider jar javadoc pom
- org.arquillian.smart.testing » junit-test-result-parser jar javadoc pom
- org.arquillian.smart.testing » strategy-affected jar javadoc pom
- org.arquillian.smart.testing » strategy-changed jar javadoc pom
- org.arquillian.smart.testing » strategy-failed jar javadoc pom
- org.arquillian.smart.testing » maven-lifecycle-extension jar javadoc pom
- org.arquillian.smart.testing » git-rules jar javadoc pom
- org.arquillian.smart.testing » smart-testing-test-bed jar javadoc pom
Release notes and resolved issues 13
- Component: Test Bed
- Component: Maven
-
- #253 Plugin selection using `ApplyTo` property not working
- #245 JUnit5 and JUnit4 cannot be mixed
- #235 Look for configuration file recursively in the parent directories.
- #216 Should not register ST extension if user is trying to run it with project which doesn't have scm repository setup
- #142 Should not register extension if skipTests is configured in pom.xml
- #92 Configurable list of strategies
- #15 Supporting JUnit 5
- Other
- Component: Core
- Component: Selection
Thanks to the following list of contributors: Hemani, Dipak Pawar, Alex Soto, Matous Jobanek, Bartosz Majsak