Closed andre2007 closed 4 years ago
There is a @BeforeAll
in the example:
https://github.com/linkrope/dunit/blob/master/example.d#L80-L84
Does this also crash on your machine?
$ ./example.d
...
Tests run: 14, Failures: 4, Errors: 1, Skips: 1
NOT OK
Program exited with code 1
I just found out, it is related to the function name. beforeAll
causes a crash, while beforeAll1
and anything else is working fine. Therefore the sample is workin, due to the name setUpAll
.
By adding a
@BeforeAll
method to my class (independent whether beforeAll method is marked as static or not) the application crashes withProgram exited with code -11
on ubuntu 18.