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:
committed by
vvlevchenko
parent
19dbdf3137
commit
16df5c4299
@@ -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) }
|
||||
Reference in New Issue
Block a user