Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Provide fast-fail to li3 test #584

Closed
darioghilardi opened this Issue · 3 comments

3 participants

@darioghilardi

Hello,
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:

https://gist.github.com/3135369

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.

@nateabele
Owner

In other words, only show the first error?

@darioghilardi

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

@gwoo
Owner

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

@gwoo gwoo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.