groupon / assertive

Assertive is a terse yet expressive assertion library
BSD 3-Clause "New" or "Revised" License
21 stars 11 forks source link

Include source line in assertion error #19

Open jkrems opened 9 years ago

jkrems commented 9 years ago
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.

EndangeredMassa commented 9 years ago

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?

ghost commented 9 years ago

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

EndangeredMassa commented 9 years ago

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