- 
        1. Re: Error TestNG in seam applicationmanuelpalacio Oct 23, 2007 5:33 PM (in response to dheerajsega)The testNG file name should end with *Test i.e. RegistrationServiceTest.xml 
- 
        2. Re: Error TestNG in seam applicationtaskin.tas Oct 23, 2007 9:22 PM (in response to dheerajsega)Hi, 
 In your ant file you have to specify the path of your testng.xml file in the testng tag.
 There must be a similiar code fragment in your ant file as below in order to run TestNG based tests.
 Test mechanism needs this declaration to find testng.xml.
 You have to fill the <xmlfileset dir= property correctly.<testng outputdir="output_directory_of_test_results"> ..... ..... ...... <xmlfileset dir="*****PATH OF testng.xml***" includes="testng.xml"/> </testng> 
 You can find an example of testng.xml below.<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" > <suite name="Tester" verbose="2" parallel="false"> <test name="Test Intact"> <classes> <class name="TestIntact"/> </classes> </test> </suite> 
 TestIntact is the class name which you write your tests.
 Best Regards.
- 
        3. Re: Error TestNG in seam applicationdheerajsega Oct 26, 2007 11:06 AM (in response to dheerajsega)
 hi,
 I was succefully able to test it but..there starts another problem.
 It returns me the error at the end ...
 [testng] [WARNING]: No test suite found.Nothing to run.
 Can anyone explain what exactly it means? and what should be done to solve this problem?
 thanks,
 dheeraj
- 
        4. Re: Error TestNG in seam applicationthejavafreak Oct 28, 2007 10:46 PM (in response to dheerajsega)You must create a test suite in your *Test.xml 
 Go read the testng doc here: http://testng.org/doc/documentation-main.html
 One example is as such:<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > <suite name="Suite1" verbose="1" > <test name="Regression1" > <packages> <package name="test.sample" /> </packages> </test> </suite> 
- 
        5. Re: Error TestNG in seam applicationdheerajsega Oct 30, 2007 10:51 AM (in response to dheerajsega)Thanks, 
 it worked...
 I used the suite earlier but it was in right way....
 so i modified it and it worked....
 IS there any example(not a simple one as in TESTNG.org documentation) that shows how the results of a complex example something like real world application test results look like......
 
     
     
    