Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic Detail
Where to use Assertion in Java Program
Assertion in java is fairly underused feature but if used carefully can complement both Unit Testing and Exception handling. Since Assertion sits on chttp://javarevisited.blogspot.com/2012/01/where-to-use-assertion-in-java-code.html
Total Hits: 2786
Total Votes: 15 votes
Average Rating: 3.07 out of 5
Category: JAVA/Core JAVA
Description:
Quick tips on where to use Assertions in Java. Assertion in java is fairly underused feature but if used carefully can complement both Unit Testing and Exception handling. Since Assertion sits on code its gets more expose than unit testing and can test your function with more real data than one or two test data.Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 13.33% |
2 |
![]() ![]() |
![]() ![]() 13.33% |
2 |
![]() ![]() ![]() |
![]() ![]() 26.67% |
4 |
![]() ![]() ![]() ![]() |
![]() ![]() 13.33% |
2 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 26.67% |
4 |




13.33%

13.33%

26.67%

13.33%

26.67%