KonanTest: infrostructure enhancements.

- test status in enum.
- fails are bit different from errors.

it takes reports generated in output directory and sum statistics and publish
result on slack.
This commit is contained in:
Vasily Levchenko
2017-02-01 13:45:27 +03:00
committed by vvlevchenko
parent 19dbdf3137
commit 16df5c4299
2 changed files with 47 additions and 10 deletions
+5
View File
@@ -0,0 +1,5 @@
package kotlin.test
class TestFailedException(val msg:String):RuntimeException(msg)
fun <T> assertEquals(a:T, b:T, msg:String) { if (a != b) throw TestFailedException(msg) }