Skip to content

Testing

Zihao Yang edited this page Aug 12, 2017 · 7 revisions

Test classes must be in src/main/test/java/tests and the name must match Test* or *Test.

Run all tests using Maven test target.

Input testing

Junit tests - testing valid input processing from the .dot file.

Schedule validation testing

Junit tests - testing that the schedule produced by the algorithm is a valid solution. Tests four validity aspects:

  • If a node is scheduled after its dependencies.
  • If the length of a task is equal to the weight of the node
  • Switching time between two tasks is equal or greater than the edge weight between them
  • Only one task is active on every processor

Clone this wiki locally