How to test Java web applications
So far I haven’t been testing or learning how to test my java web applications.
Mocking concrete class – Not recommended
I’ve just read an excerpt of “Growing Object-Oriented Software” book which explains some reasons why mocking concrete class is not recommended.
How to write junit test case for the program [closed]
Closed 11 years ago.
JUnitEE vs JUnit
I know what unit testing is in general and what JUnit is in particular. But here I see that there is a project called JUnitEE which seems to me to be a wrapper over JUnit. So I would like to better understand the pain point of using vanilla JUnit and how JUnitEE is able to solve those problems.
Is the use of JUnit feasible for a short duration project of around 3 months? [duplicate]
This question already has answers here: How big does my project need to be for me to unit test it? [closed] (12 answers) Closed 11 years ago. I work on projects which are usually of a duration, not more than 3 months. Recently there has been a discussion about the use of JUnit in the […]
Do I need JUnit tests for the controller layer on a MVC when I have a database layer
I have a MVC which has this structure:
Bamboo’s JUnit Parser won’t parse my test results and failing to find the results in file path
6
The user is experiencing an error in their Junit program, despite using assert-equals with two integer numbers
I have used Assert Equals (Expected,Actual) method and takes two integers value and store it’s sum in Actual variable. i am putting my code below.
Where Are Multiple JUnit Test Methods Typically Placed in Code?
I’ve just read the Vogella JUnit tutorial and found it very helpful in understanding how to use JUnit. However, I’m a bit confused about what the convention is for placing multiple test methods in code. The tutorial only places one test method in a class, then describes how you can use a test suite to group multiple test classes together.
Unit testing classes that have online functionality
When unit testing functions of a class that has private functions that require online functionality. How would one go about testing it?