Topic 4 Testing

2022/10/26 14:13 PM posted in  CS121   comments
Tags:  #CS-121

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