Provide fast-fail to li3 test #584

darioghilardi opened this Issue Jul 18, 2012 · 3 comments

3 participants


we're doing TDD with lithium and we run into a small but boring issue. When we run li3 test with a lot of fails (that happens when you make tests before writing the code), we get this kind of output:

This is really uncomfortable because you get a lot of output, so you need to scroll up and see which is the first error.
I'd like lithium to provide a feature called fast-fail or insta-fail for tests, which is already shipped with rspec and shows directly the first error. I guess it should be a flag to the li3 test command.
I'd like to listen for your opinions about this.

Union of RAD member

In other words, only show the first error?


Shortly, yes. With a parameter to the li3 test command, it will be awesome when you make TDD.

Union of RAD member

You can do this if your tests extend lithium\test\Integration.

@gwoo gwoo closed this May 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment