JUnit is a unit testing framework for the Java programming language.

learn more… | top users | synonyms

1
vote
1answer
94 views

Selenium opens browser and loads page, then stops

Selenium opens browser and loads page, then stops. I have inherited a selenium project with no internal documentation and I'm a bit stuck on how to get it up and running (I am new to Selenium). We've ...
0
votes
1answer
33 views

Testing Verify Method Call Without Argument In Test Class

I have a class which takes a message with payload String. The payload is then split and used to create an Entity which is passed to DAOInterface to persist. How can you test the call ...
0
votes
1answer
179 views

Calling data from one class to another class - framework for JUnit

Please forgive me as I am still very new to the world of test automation. I have started out by using Selenium WebDriver with JUnit4, predominately on windows OS, although I have modified my scripts ...
1
vote
0answers
56 views

How can I use Surefire to run parameterized tests in parallel?

I am using jUnit's Parameterized annotation on some Selenium tests to specify the browsers they should run with. I am also using SureFire's new parallel parameter (set to "classes") to try and run ...
0
votes
0answers
27 views

Testng giving null pointer exception

I have installed testng plugin using "http://beust.com/eclipse" site. I used option of adding new software to eclipse. Then i converted my junit test cases to testng. But the test cases which were ...
0
votes
0answers
104 views

JBehave Assert.fail fails in console and not in JUnit (eclipse)

I asked this question on StackOverflow and have not gotten any answers, so re-asking here. I am trying to set up JBehave for our school project and am unable to figure out why an Assert.fail() in a ...
0
votes
0answers
130 views

How to test an SDK built for Android?

My company has an SDK for the Android platform. The SDK sends information to our servers. I need to be able to intercept, interpret, and analyze what the SDK is sending to these servers in terms of ...