We will discuss here on how you can easily create automatic test scripts using Selenium IDE and convert them to JUnit tests (which uses Selenium Remote Control) which can be added to your JUnit based automatic regression test suite
-
Unit Testing your UI with selenium (4 messages)
- Posted by: vinay singh
- Posted on: September 08 2010 15:10 EDT
Threaded Messages (4)
- Not "unit testing" by Larry Edelstein on September 09 2010 14:36 EDT
- Not Unit Testing At All by Danilo Seki on September 10 2010 08:04 EDT
- Just a bad choice by Danilo Seki on September 10 2010 08:07 EDT
- Not Unit Testing At All by Danilo Seki on September 10 2010 08:04 EDT
- Better approach by David Avenante on September 13 2010 09:15 EDT
-
Not "unit testing"[ Go to top ]
- Posted by: Larry Edelstein
- Posted on: September 09 2010 14:36 EDT
- in response to vinay singh
This has nothing to do with UNIT TESTING. Running Selenium tests via JUnit is great, but just because you're using JUnit doesn't mean you're writing unit tests. Don't you know what unit tests are?
I'll help you out. A unit test exercises a single unit of code. Generally a single class or source file.
Whereas Selenium tests are usually end-to-end tests of your system.
Change the title of the discussion: call it "Harnessing Selenium with JUnit".
-
Not Unit Testing At All[ Go to top ]
- Posted by: Danilo Seki
- Posted on: September 10 2010 08:04 EDT
- in response to Larry Edelstein
I agree completely that Selenium is not unit testing. What should we call it? Maybe "Automated Functional Testing", but not unit testing, PLEASE. Thanks to posts like this I keep arguing with people that do not know what unit testing is but insist that "some literature" agrees with them.
-
Just a bad choice[ Go to top ]
- Posted by: Danilo Seki
- Posted on: September 10 2010 08:07 EDT
- in response to Danilo Seki
I just noticed something... the only place in the text that mentions "unit testing" is the title. Bad choice, I guess.
-
Better approach[ Go to top ]
- Posted by: David Avenante
- Posted on: September 13 2010 09:15 EDT
- in response to vinay singh
Hi,
We have created a new tool in front of Selenium. We think it's a better usage for UI testing
Look at http://www.testatoo.org