[selenium-users] Creating a Test Suite - JUnit

91 views
Skip to first unread message

Harish Chava

unread,
Apr 28, 2010, 5:44:33 AM4/28/10
to Selenium Users

Hi ,

I have few java Test cases developed and tested using JUnit . Now I
want to test all these cases at a time .

How to create a test suite ? . Please suggest simple method in
creating and executing the test suite.


Thanks,
Harish

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

David Rosskopf

unread,
Apr 28, 2010, 4:01:14 PM4/28/10
to Selenium Users
I use Nunit, but guessing its the same as Junit, you should be able
to
select the program node, and click on start, and it should go through
each class in the library. If you want the tests to run
simultaneously
you will probably want to use selenium grid.

Ayhan

unread,
Apr 28, 2010, 4:31:48 PM4/28/10
to Selenium Users
// import junit Test and TestSuite
public class MyLovelyTests {

public static Test suite() {
TestSuite suite = new TestSuite("Test all...");
suite.addTestSuite(MyTestCaseTest1.class);
suite.addTestSuite(MySecondTest.class);
return suite;

Harish Chava

unread,
Apr 29, 2010, 11:41:18 PM4/29/10
to Selenium Users
Thanks to all.

Ayhan , I used the same method.
Reply all
Reply to author
Forward
0 new messages