It is perfect to make testing go along with code.
-
Testing
-
Code review
- Just look at the code to see if the code is good or not
-
Software Process
-
Static Analysis
-
Program Verification
- Build in linux kernels to test code.
-
Unit testing is a bread and butter testing to test code robustly. It will focus on a small part of function.
-
Integration/System testing.
-
Acceptance test.
-
Regressioni test.
Testing with JUnit
javac ListTests.java
java org.junit.runner.JunitCore ListTests