Closed GunnarFarneback closed 5 years ago
Yeah, this'd be good to have. Check out the tests that Traceur itself runs; I think it'd be pretty easy to build on that to create these macros.
@GunnarFarneback Now that https://github.com/JunoLab/Traceur.jl/pull/32 has been merged, does that meet your needs?
With https://github.com/JunoLab/Traceur.jl/pull/32, you can now do something like this:
using Traceur
@check run_my_testcase() nowarn=:all
This will throw an error (thus causing your test suite to fail) if Traceur finds any issues inside run_my_testcase()
.
If Traceur does not find any issues, it will not throw an error, and thus your test suite will pass.
@pfitzseb Do you think that this issue can be closed now?
When you have fixed everything Traceur found to complain about, you want it to stay that way, and you want to have automated tests monitoring it.
I'd love to be able to do something like
or maybe