More Clarity in Tests #265

Closed
gitbase opened this Issue Aug 9, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@gitbase

gitbase commented Aug 9, 2012

I am using multiple expect() in an it() block.

But the problem is if I have similar expect's, then when an expect fails, it doesn't tell me which expect() failed actually. That information would be quite helpful.

It does gives the JS line number, but I am using CoffeeScript to generate my Specs, so line numbers mis-match.

Any idea on this ? Maybe there are better ways ? Would like to know more!

@ghost

This comment has been minimized.

Show comment Hide comment
@ghost

ghost Aug 11, 2012

What do you meant that you're not seeing which test is failing?

--dwf

On Wed, Aug 8, 2012 at 11:36 PM, gitbase notifications@github.com wrote:

I am using multiple expect() in an it() block.

But the problem is, when a test fails, it doesn't tell me which expect()failed actually. That information would be quite helpful.

It does gives the JS line number, but I am using CoffeeScript to generate
my Specs.

Any idea on this ? Maybe there are better ways ? Would like to know more!


Reply to this email directly or view it on GitHubhttps://github.com/pivotal/jasmine/issues/265.

thx,
--dwf

ghost commented Aug 11, 2012

What do you meant that you're not seeing which test is failing?

--dwf

On Wed, Aug 8, 2012 at 11:36 PM, gitbase notifications@github.com wrote:

I am using multiple expect() in an it() block.

But the problem is, when a test fails, it doesn't tell me which expect()failed actually. That information would be quite helpful.

It does gives the JS line number, but I am using CoffeeScript to generate
my Specs.

Any idea on this ? Maybe there are better ways ? Would like to know more!


Reply to this email directly or view it on GitHubhttps://github.com/pivotal/jasmine/issues/265.

thx,
--dwf

@infews

This comment has been minimized.

Show comment Hide comment
@infews

infews Sep 3, 2012

Contributor

Can we move this to the mail list? There are lots of people using Jasmine to test their CoffeeScript. Perhaps someone on the list can help?

Contributor

infews commented Sep 3, 2012

Can we move this to the mail list? There are lots of people using Jasmine to test their CoffeeScript. Perhaps someone on the list can help?

@infews infews closed this May 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment