itsfrank / frktest

A basic test framework for Lune
MIT License
5 stars 1 forks source link

Not possible to exit with non-0 code #1

Closed itsfrank closed 7 months ago

itsfrank commented 7 months ago

Lune provides process.exit(1) to exit with non-0 exit code. But currently, the runner script has no way of telling if the test session failed or not.

We should add either a return to frktest.run() or some other way to query the result so that the runner script can use process.exit(1)

itsfrank commented 7 months ago

Fixed in bc37d3a604fedd8394ca2732f175183535397438