Smart Testing
We know which tests you want to run.
We all know that as the project evolves we keep adding more and more tests to ship our products confidently. This however has an impact on the build time and thus we waste time waiting for the most important question to be answered - "Did I break anything with my changes?".
Let it be your local development or a CI server - what if you could know this as soon as possible?
We created Smart Testing to give you the fastest possible feedback loop when it comes to executing your tests.
Installation
To quickly start using Smart Testing all you need to do is to execute following snippet:
curl -sSL https://git.io/v5jy6 | bash
You can also add these flags:
-
-l|--latest
latest published artifact in Maven Central (that’s the default) -
-v|--version=
- specific version to install
For example:
curl -sSL https://git.io/v5jy6 | bash -s -- --latest
Important
|
The script is tested on Linux, but we do provide basic OSX support [1] with the fully fledged version coming next release. |
Important
|
This script requires xmllint , so make sure you have it installed. |
Documentation
To read complete documentation head over to http://arquillian.org/smart-testing/
You can also generate it locally. All you need to have in place is Docker. Simply execute
$ ./.asciidoctor/generate.sh
and you are set. You will find generated documentation in the gh-pages
folder.
On Linux you can combine it with following command:
./.asciidoctor/generate.sh && xdg-open gh-pages/index.html &>/dev/null
This will generate the documentation and open it in the browser.
.mvn/extension.xml
file exists.