22

Anyone knows a good tutorial for a beginner in Selenium and jUnit ?
I already have a background in unit testing and acceptance testing (RSpec and Capybara on Rails 3), and now I'm starting this new project with JavaEE and I'm looking for a quick start with both of this technologies.
Thanks.

Adriano
  • 19,463
  • 19
  • 103
  • 140
  • 1
    I found TutorialsPoint very helpful: http://www.tutorialspoint.com/junit/index.htm + http://www.tutorialspoint.com/selenium/index.htm. Also, for Selenium nothing beats their learn-by-example method on their own website - http://www.seleniumhq.org/docs/03_webdriver.jsp – Andrejs Feb 24 '16 at 22:01

2 Answers2

31

I'm doing some extensive reading/research about this subject so I'll share the good articles/slidshows/books/answers I found:

Finally, you probably want to look at a mocking framework (ie. Mockito, JMock, EasyMock):

Community
  • 1
  • 1
Adriano
  • 19,463
  • 19
  • 103
  • 140
0

I would suggest that you use TestNG instead of JUnit. TestNG offers you more options and possibilites how to run your tests and in which order especially (something Junit can't). Here some useful links.

Hope that helps

Tarken
  • 2,112
  • 2
  • 23
  • 42