opencredo / test-automation-quickstart

Quickstart project for test automation, covering performance, ui acceptance and api acceptance testing
https://opencredo.com/blogs/test-automation-concepts-data-aliases/
MIT License
144 stars 169 forks source link

mvn clean install -Pui-acceptance-tests not running any test #10

Open vikramvi opened 7 years ago

vikramvi commented 7 years ago

Hi, I've cloned the repo and wanted to run ui-acceptance-tests to check cucumber-jvm-parallel-plugin

I executed command mvn clean install -Pui-acceptance-tests

none of the test cases were run, console output as below

vikram-anna-pro:test-automation-quickstart vikram-anna$ mvn clean install -Pui-acceptance-tests
[INFO] Scanning for projects...  test-automation-quickstart
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] com.opencredo.test.automation.quickstart:test-automation-reactor
[INFO] acceptance-tests-common
[INFO] ui-acceptance-tests
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building com.opencredo.test.automation.quickstart:test-automation-reactor 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ test-automation-quickstart ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @test-automation-quickstart ---
[INFO] Installing /Users/vikram-anna/Documents/test-automation-quickstart/pom.xml to /Users/vikram-anna/.m2/repository/com/opencredo/test/test-automation-quickstart/0.1.0-SNAPSHOT/test-automation-quickstart-0.1.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building acceptance-tests-common 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ acceptance-tests-common ---
[INFO] Deleting /Users/vikram-anna/Documents/test-automation-quickstart/acceptance-tests-common/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ acceptance-tests-common ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/vikram-anna/Documents/test-automation-quickstart/acceptance-tests-common/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ acceptance-tests-common ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /Users/vikram-anna/Documents/test-automation-quickstart/acceptance-tests-common/target/classes
[WARNING] /Users/vikram-anna/Documents/test-automation-quickstart/acceptance-tests-common/src/main/java/com/opencredo/test/utils/RandomUtils.java:[3,46] sun.reflect.generics.reflectiveObjects.NotImplementedException is internal proprietary API and may be removed in a future release
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ acceptance-tests-common ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/vikram-anna/Documents/test-automation-quickstart/acceptance-tests-common/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ acceptance-tests-common ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ acceptance-tests-common ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ acceptance-tests-common ---
[INFO] Building jar: /Users/vikram-anna/Documents/test-automation-quickstart/acceptance-tests-common/target/acceptance-tests-common-0.1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ acceptance-tests-common ---
[INFO] Installing /Users/vikram-anna/Documents/test-automation-quickstart/acceptance-tests-common/target/acceptance-tests-common-0.1.0-SNAPSHOT.jar to /Users/vikram-anna/.m2/repository/com/opencredo/test/acceptance-tests-common/0.1.0-SNAPSHOT/acceptance-tests-common-0.1.0-SNAPSHOT.jar
[INFO] Installing /Users/vikram-anna/Documents/test-automation-quickstart/acceptance-tests-common/pom.xml to /Users/vikram-anna/.m2/repository/com/opencredo/test/acceptance-tests-common/0.1.0-SNAPSHOT/acceptance-tests-common-0.1.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ui-acceptance-tests 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ui-acceptance-tests ---
[INFO] Deleting /Users/vikram-anna/Documents/test-automation-quickstart/ui-acceptance-tests/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ui-acceptance-tests ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/vikram-anna/Documents/test-automation-quickstart/ui-acceptance-tests/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ui-acceptance-tests ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ui-acceptance-tests ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ ui-acceptance-tests ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 10 source files to /Users/vikram-anna/Documents/test-automation-quickstart/ui-acceptance-tests/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ ui-acceptance-tests ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ ui-acceptance-tests ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /Users/vikram-anna/Documents/test-automation-quickstart/ui-acceptance-tests/target/ui-acceptance-tests-0.1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (acceptance-test) @ ui-acceptance-tests ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ ui-acceptance-tests ---
[INFO] Installing /Users/vikram-anna/Documents/test-automation-quickstart/ui-acceptance-tests/target/ui-acceptance-tests-0.1.0-SNAPSHOT.jar to /Users/vikram-anna/.m2/repository/com/opencredo/test/ui-acceptance-tests/0.1.0-SNAPSHOT/ui-acceptance-tests-0.1.0-SNAPSHOT.jar
[INFO] Installing /Users/vikram-anna/Documents/test-automation-quickstart/ui-acceptance-tests/pom.xml to /Users/vikram-anna/.m2/repository/com/opencredo/test/ui-acceptance-tests/0.1.0-SNAPSHOT/ui-acceptance-tests-0.1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] com.opencredo.test.automation.quickstart:test-automation-reactor SUCCESS [  0.227 s]
[INFO] acceptance-tests-common ............................ SUCCESS [  1.129 s]
[INFO] ui-acceptance-tests ................................ SUCCESS [  1.223 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.680 s
[INFO] Finished at: 2017-08-01T17:58:11+02:00
[INFO] Final Memory: 25M/305M
[INFO] ------------------------------------------------------------------------