macro for bench cases
Hi there,
I really like this plugin. Not sure if this already exists, anyways I did not find it: Did you ever consider to extend or clone this crate to create cases for benchmarks as well? It would be really helpful to bechmark different implementations of an algorithm or the effect of different inputs to a function (for example length of a String that shall be manipulated).
Haven't really considered it. It should be rather easy to do with test-case-core lib, as it provides all parsing for the test_case() body. I don't think we'll have time to do it on our own in near time, so if you feel like it, you can tackle that feature. It can be either part of this repo, or even separate one (we can link to it from our README :) )