-
Notifications
You must be signed in to change notification settings - Fork 0
Test Suite
Vlad Ureche edited this page Jun 15, 2014
·
2 revisions
The test suite contains several corner cases that we stumbled upon while developing the transformation. It is executed with each commit:
To run the test suite on your own, you need a local clone of the code available on github or the DRT Virtual Machine:
$ cd ~/Workspace/staging-plugin/
$ sbt test
...
[info] Test run started
[info] Test stagium.partest.PartestSuite.testCompileOutput started
Picking plugin from: /mnt/data1/Work/Workspace/dev-2.11/staging-plugin/tests/correctness/../../components/plugin/target/scala-2.11
Picking tests from: /mnt/data1/Work/Workspace/dev-2.11/staging-plugin/tests/correctness/src/stagium/testcases
Compiling fft.scala ... [ OK ]
Compiling hello.scala ... [ OK ]
Compiling pow.scala ... [ OK ]
[info] Test run finished: 0 failed, 0 ignored, 1 total, 6.116s
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1
[success] Total time: 20 s, completed Jun 15, 2014 6:44:47 PM
These tests are executed with each commit:
See the [next chapter](Source Code) for exploring the source code.