Skip to content

Commit 69abb31

Browse files
committed
started junit
1 parent 00afe84 commit 69abb31

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

content/UnitTesting.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Unit Testing in Java
2+
===
3+
4+
An important way to ensure your code is correct is to write tests for each individual unit of code you write; for each individual method. Chances are you've started to do so; you write a method, and then verify that it works, probably calling it from main; the problem with this is that, when you test the next method, you delete the previous tests, and, if you ever change the method you don't have those tests anymore.
5+
6+

0 commit comments

Comments
 (0)