Questions tagged [junit]
JUnit is a unit testing framework for the Java programming language.
10
questions
7
votes
7
answers
39k
views
Take screen shots using selenium webdriver
How to take screen shot on both test cases "Positive and Negative" results?
NOTE: Currently, I am working in selenium webdriver (junit) and I did not have an idea about how to code for adding methods ...
12
votes
2
answers
3k
views
How to manage application data when running multiple tests in parallel?
Our functional test suite is slow
I have inherited a functional test suite using Selenium 2 (Webdriver) and Junit. We have around 500 tests written for our Java web application. Running the full ...
1
vote
3
answers
267
views
One Selenium framework to rule them all (or an actively maintained collection of frameworks)
I am looking for most universal, up to date, open source, selenium framework for test automation. Or at least a number of frameworks for different languages.
I am surprised as how every company and ...
5
votes
9
answers
2k
views
What are good resources for a manual tester to transition to automation?
Nervously looking at job posts, automation and programming is no longer "good-to-have". It is almost a must.
I'm a manual tester looking to start working towards automated testing/test automation. I ...
4
votes
2
answers
5k
views
Code Coverage for Web Applications?
Does anyone have any experience using code coverage tools for web applications?
I primarily work with Webdriver and JUnit, but I am not sure if we are covering all the possible cases.
This may ...
4
votes
2
answers
16k
views
How and where to store dynamic result/data using webdriver java
I want to know "How and where to store dynamic (Search results) result/data", I am getting the results and not sure what to do next.
Also, after saving these results I want to use this in another ...
2
votes
2
answers
8k
views
What are Selenium, JUnit, Ant and JScover and how they are combined?
I am given a javascript function which takes as input some numbers and returns the max, as a part of a project at the university, and I have to test it, using Selenium, JUnit, Ant and JScover. I have ...
0
votes
0
answers
53
views
How to terminate the application and make the launcher return to its call by the stop command?
In question: Need code examples on how to use org.junit.platform.launcher.listeners
problems have been resolved:
Exit – program interruption Pause (true) – stops work before receiving Pause (false)
...
0
votes
1
answer
278
views
Need code examples on how to use org.junit.platform.launcher.listeners
I run according to the documentation with a test class with 30 tests inside org.junit.platform.launcher.Launcher
I have a function launcher.registerTestExecutionListeners(listener)
registered in org....
0
votes
1
answer
243
views
Cucumber + Junit + Extend Test Steps (use IDs in next step)
Details:
We currently use Mockito/ Wiremock (in different teams), Junit and Cucumber in our test procedure.
And test cases are functional, but we want to extend them with regard to post procedures.
...