Note that there are some explanatory texts on larger screens.

plurals
  1. POmaven-failsafe-plugin not seeing my tests (seleniumHQ)
    primarykey
    data
    text
    <p>i'm writing tests via selenium web driver here's my code :</p> <p>Pom.xml</p> <pre class="lang-xml prettyprint-override"><code>&lt;project&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;junit&lt;/groupId&gt; &lt;artifactId&gt;junit&lt;/artifactId&gt; &lt;version&gt;4.8.1&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt; &lt;artifactId&gt;selenium-java&lt;/artifactId&gt; &lt;version&gt;2.24.1&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;build&gt; &lt;finalName&gt;SeleniumebDriverProject&lt;/finalName&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-failsafe-plugin&lt;/artifactId&gt; &lt;version&gt;2.11&lt;/version&gt; &lt;configuration&gt; &lt;!-- Skip the normal tests, we'll run them in the integration-test phase--&gt; &lt;skip&gt;false&lt;/skip&gt; &lt;/configuration&gt; &lt;executions&gt; &lt;execution&gt; &lt;phase&gt;integration-test&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;test&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;skip&gt;false&lt;/skip&gt; &lt;includes&gt; &lt;include&gt;**/*Test.java&lt;/include&gt; &lt;/includes&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; &lt;/project&gt; </code></pre> <p>My test class named GoogleTest.java. after reading this post : <a href="https://stackoverflow.com/questions/9947701/failsafe-plugin-wont-run-on-one-project-but-will-run-on-another-why">failsafe plugin won&#39;t run on one project but will run on another -- why?</a></p> <p>I changed the name of my class so it's:</p> <pre class="lang-xml prettyprint-override"><code>&lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-failsafe-plugin&lt;/artifactId&gt; &lt;version&gt;2.11&lt;/version&gt; &lt;configuration&gt; &lt;!-- Skip the normal tests, we'll run them in the integration-test phase--&gt; &lt;skip&gt;false&lt;/skip&gt; &lt;/configuration&gt; &lt;executions&gt; &lt;execution&gt; &lt;goals&gt; &lt;goal&gt;integration-test&lt;/goal&gt; &lt;goal&gt;verify&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;executions&gt; &lt;/plugin&gt; </code></pre> <p>But the problem persist.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload