Roblox / testez

BDD-style test and assertion library for Roblox Lua
https://roblox.github.io/testez/
Apache License 2.0
186 stars 57 forks source link

TestEZ does not error when it fails to load a module #156

Open oltrep opened 4 years ago

oltrep commented 4 years ago

When running in a CLI, we check if the failed test count is above zero, and return with a non-zero exit code.

If TestEZ fails to run the main function of a test module, it will show an error like Error during planning: ..., but since this error does not add a failure to the counter, it still returns 0 like if it would have succeed.