I open sourced a new tool! It runs your tests to check if your documentation is correct. Check it out https://github.com/backus/yardcheck …pic.twitter.com/I4k8PaK0lT
-
-
I had thought of writing this tool. You've written a better implementation than I would have!

-
Thanks! It bugged me every time I ran into stale YARD docs. The metadata is easy to get via YARD couldn't believe there wasn't a solution.
-
My tests are all in Minitest. I don't suppose that would work with this eh?
-
1/ It doesn't but it could be adapter for that in the future. Right now it basically just invokes rspec's runner.
-
2/ I wrote it to enable method tracing around each example. This makes it not unbearably slow. Would need to find equivalent for minitest
-
Have a look at my gem state_inspector https://github.com/danielpclark/state_inspector … … it uses the method decorator pattern to observe method calls.
-
That might give you much better performance.
-
Neat I'll check it out. Have you benched it against using `TracePoint`?
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.