assertive icon indicating copy to clipboard operation
assertive copied to clipboard

Include source line in assertion error

Open hybrist opened this issue 10 years ago • 3 comments

assert.expect(2 > 3);

I want assertive to include the source line in the error, e.g. by capturing the stack trace in a smarter way.

hybrist avatar Mar 13 '15 17:03 hybrist

How much effort like this is worth it before either just using power-assert or rewriting assertive to be an arg-shifted version of power-assert?

EndangeredMassa avatar Mar 13 '15 18:03 EndangeredMassa

power-assert looks pretty nice - @EndangeredMassa have you guys been using it?

ghost avatar Mar 13 '15 18:03 ghost

Not me, but I've heard people like it.

EndangeredMassa avatar Mar 13 '15 18:03 EndangeredMassa