Where to use Assertion in Java Program
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial 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: 2796
Total Votes: 15 votes
Category: JAVA/Core JAVA
Submitted on: 2012-01-23 08:38:40
Submitted By: Javin Paul
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. More detail...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%