We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to use Arquillian Smart Testing but after doing all the setup steps on the installation guide
I expect only the recent tests to be runned and not all the tests from years old commits.
I have created the extension file on my project base: "./.mvn/extensions.xml"
<?xml version="1.0" encoding="UTF-8"?> <extensions> <extension> <groupId>org.arquillian.smart.testing</groupId> <artifactId>maven-lifecycle-extension</artifactId> <version>0.0.10</version> </extension> </extensions>
When I execute the following command: mvn clean test -Dsmart.testing.mode="selecting" -Dsmart.testing="new" -Dscm.last.changes=1
mvn clean test -Dsmart.testing.mode="selecting" -Dsmart.testing="new" -Dscm.last.changes=1
I get the debug messages of the plugin, and the target file is generated however all tests are runned and in an arbitrary order:
[INFO] Scanning for projects... [INFO] Smart Testing Extension - Using configuration from /<my_project_root_folder>/smart-testing.yml DEBUG: Smart Testing Extension - Version: 0.0.10 DEBUG: Smart Testing Extension - Applied user properties: {smart.testing=new, smart.testing.mode=selecting, scm.last.changes=1} [INFO] Smart Testing Extension - Enabling extension. DEBUG: Smart Testing Extension - Enabling Smart Testing 0.0.10 for plugin [maven-surefire-plugin] in <my_project_name> module ... Smart Testing Extension - Modified pom stored at: /<my_project_root_folder>/target/smart-testing/reporting/smart-testing-effective-pom.xml
On the documentation it is referred to execute the following command on project base folder: curl -sSL https://git.io/v5jy6 | bash
curl -sSL https://git.io/v5jy6 | bash
But when o do that I receive the following error: .Version 3.6.3 is not supported.
.Version 3.6.3 is not supported.
I'm using: Arquillian 0.0.10 Maven 3.6.3 Surefire 3.3.3-M5 JUnit 5.7.0
<details> <summary>3.6.3</summary> Maven home: /usr/share/maven Java version: 1.8.0_272 openjdk version "1.8.0_272" OpenJDK Runtime Environment (build 1.8.0_272-8u272-b10-0ubuntu1~20.04-b10) OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode) Default locale: en_US, platform encoding: UTF-8 OS name: "Ubuntu", version: "20.04.1 LTS", arch: "amd64" </details>
The text was updated successfully, but these errors were encountered:
StackOverflow link: https://stackoverflow.com/questions/64623352/im-trying-to-use-arquillian-smart-testing-lib-but-without-success?noredirect=1#comment114284720_64623352
Sorry, something went wrong.
No branches or pull requests
Issue Overview
I'm trying to use Arquillian Smart Testing but after doing all the setup steps on the installation guide
Expected Behaviour
I expect only the recent tests to be runned and not all the tests from years old commits.
Current Behaviour
I have created the extension file on my project base: "./.mvn/extensions.xml"
When I execute the following command:
mvn clean test -Dsmart.testing.mode="selecting" -Dsmart.testing="new" -Dscm.last.changes=1
I get the debug messages of the plugin, and the target file is generated however all tests are runned and in an arbitrary order:
On the documentation it is referred to execute the following command on project base folder:
curl -sSL https://git.io/v5jy6 | bash
But when o do that I receive the following error:
.Version 3.6.3 is not supported.
Additional Information
I'm using:
Arquillian 0.0.10
Maven 3.6.3
Surefire 3.3.3-M5
JUnit 5.7.0
The text was updated successfully, but these errors were encountered: