1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

Java: What is Assertion in Java with Example

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    3.50/5

Java » Basics — over 5 years ago
Java 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.

Comments

Your Comment

You must be logged in to post a comment.