Where to use Assertion in Java Program
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 8987
Total Votes: 89 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...