Jav aAssertion Tutorial for Beginners with Example

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Short tutorial on what is assertion in java and why should you use assertion to improve code quality

Statistics

  • Total Hits - 15261

  • Total Votes - 98 votes

  • Vote Up - 42 votes

  • Vote Down - 56 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/Core JAVA

  • Submitted By - Javin Paul

  • Submitted on - 2012-01-23 08:34:55

Description

Short tutorial on what is assertion in java and why should you use assertion to improve code quality. Also 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. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements