2 Replies Latest reply on Sep 7, 2009 11:45 AM by hubaghdadi

    My test suite isn't running

    hubaghdadi

      Hey,


      My application is create with seam-gen tool.


      I wrote a test class and create testng.xml


      <suite name="Groups" verbose="2" parallel="false">
         <test name="GroupList">
           <classes>
             <class name="domain.test.GroupManagerTest"/>
           </classes>
         </test>
      </suite>



      Upon running ant test , I got this:


      You need to specify at least one testng.xml or one class


      Any idea why the test suite doesn't get run?


      Thanks for help and time.

        • 1. Re: My test suite isn't running
          yk

          Have you looked at the tests in the examples code ?
          See blog seam example that comes with your seam distribution. you will find there a test-ng example.




          <!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
          
          <suite name="Blog" verbose="2" parallel="false">
          
             <test name="Blog">
               <classes>
                 <class name="test.BlogTest"/>
               </classes>
             </test>
               
          </suite>



          • 2. Re: My test suite isn't running
            hubaghdadi

            My testng.xml isn't different from the one you post.