3 Replies Latest reply on Oct 6, 2005 4:05 AM by Gavin King

    Testing booking application

    Marco Pancotti Newbie

      The booking application is correctly running on he Jboss container, but I have a problem running the test suite.
      Using the Eclipse testNG plugin and running the testng.xml suit I have the following output

      [TestClass] Creating TestClass for [ClassImpl org.jboss.seam.example.booking.test.LoginTest]
      [TestRunner] Running test Login on 1 classes, included groups:[] excluded groups:[]
      [TestClass]
      ======
      TESTCLASS: org.jboss.seam.example.booking.test.LoginTest
      [TestClass]
      ======
      
      [TestRunner] Marking class [TestClass class org.jboss.seam.example.booking.test.LoginTest] as beforeConfigurationClass=true
      [TestRunner] PARALLEL LIST:
      [TestRunner] SEQUENTIAL LIST:
      [TestRunner] Found 0 applicable methods
      [TestRunner] Marking class [TestClass class org.jboss.seam.example.booking.test.LoginTest] as afterConfigurationClass=true
      
      *********** INVOKED METHODS
      
      
      ***********
      
      [TestClass] Creating TestClass for [ClassImpl org.jboss.seam.example.booking.test.BookingTest]
      [TestRunner] Running test Booking on 1 classes, included groups:[] excluded groups:[]
      [TestClass]
      ======
      TESTCLASS: org.jboss.seam.example.booking.test.BookingTest
      [TestClass]
      ======
      
      [TestRunner] Marking class [TestClass class org.jboss.seam.example.booking.test.BookingTest] as beforeConfigurationClass=true
      [TestRunner] PARALLEL LIST:
      [TestRunner] SEQUENTIAL LIST:
      [TestRunner] Found 0 applicable methods
      [TestRunner] Marking class [TestClass class org.jboss.seam.example.booking.test.BookingTest] as afterConfigurationClass=true
      
      *********** INVOKED METHODS
      
      
      ***********
      
      [TestClass] Creating TestClass for [ClassImpl org.jboss.seam.example.booking.test.ChangePasswordTest]
      [TestRunner] Running test ChangePassword on 1 classes, included groups:[] excluded groups:[]
      [TestClass]
      ======
      TESTCLASS: org.jboss.seam.example.booking.test.ChangePasswordTest
      [TestClass]
      ======
      
      [TestRunner] Marking class [TestClass class org.jboss.seam.example.booking.test.ChangePasswordTest] as beforeConfigurationClass=true
      [TestRunner] PARALLEL LIST:
      [TestRunner] SEQUENTIAL LIST:
      [TestRunner] Found 0 applicable methods
      [TestRunner] Marking class [TestClass class org.jboss.seam.example.booking.test.ChangePasswordTest] as afterConfigurationClass=true
      
      *********** INVOKED METHODS
      
      
      ***********
      
      
      ===============================================
      Hotel Booking
      Total tests run: 0, Failures: 0, Skips: 0
      ===============================================

      Why does it not invoke any method?
      Thanks for the help
      Marco Pancotti