Hi,

its my first try with getting tests running in jenkins (and writing test 
automation in general).

i've written a Test in Intellij, its running fine there.  I have a .pom 
file and a testng.xml and of course a source file .

my problem now is that jenkins builds successfull but no tests get executed.

my .pom file looks like :

<?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>     <modelVersion>4.0.0</modelVersion>
>
>     <groupId>tvsmiles</groupId>
>     <artifactId>rontastic</artifactId>
>     <version>1.0-SNAPSHOT</version>
>
>     <dependencies>
>         <dependency>
>             <groupId>junit</groupId>
>             <artifactId>junit</artifactId>
>             <version>4.12</version>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.seleniumhq.selenium</groupId>
>             <artifactId>selenium-java</artifactId>
>             <version>2.53.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.testng</groupId>
>             <artifactId>testng</artifactId>
>             <version>6.8</version>
>             <scope>test</scope>
>         </dependency>
>     </dependencies>
>     <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-surefire-plugin</artifactId>
>                 <version>2.7.2</version>
>                 <configuration>
>                     <includes>
>                         
> <include>/Users/Inditronic/IdeaProjects/rtastictest/testng.xml</include>
>                     </includes>
>                 </configuration>
>             </plugin>
>         </plugins>
>     </build>
>
>
>
>
>
>
> </project>
>
>
My testng.xml  looks like :

<?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"; >
>
> <suite name="Suite1">
>     <test name="rontatstic" >
>         <classes>
>             <class name="rtastictest" />
>         </classes>
>     </test>
>     </suite>
>
>
in my rtastictest java file  have a @BeforeClass , @Test  and @AfterClass.

i hope someone has a clue what i am doing wrong. why is  jenkins not 
executing any test.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/deee9014-1527-4b81-8f45-774199061588%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to