Smother is a revolutionary tool to ✨ magically ✨ increase your test coverage! Don't just cover your code - smother it! ☁️
| Without Smother 👎 | With Smother 👍 |
|---|---|
So you have some Ruby 💎 code and want to improve your test coverage.
Great Idea. But who has time time write more tests? You certainly don't.
Enter Smother.
Smother ✨ magically ✨ improves your test coverage within seconds!
Install Smother and call it in your test suite. A single test will do.
bundle add smothertest 'smother everything' do
Smother.my_code
endThat's it. Now run your tests and enjoy your improved coverage! 🤩
It's really simple.
Smother identifies and calls all public methods in your code base with appropriate arguments. Any errors are ignored, so your code can continue execution.
This dramatically increases code coverage.
Who cares? Smother improves your code coverage. Brrr, Number go up! 📈
Why waste your precious credits if Smother can magically improve your code coverage in seconds?
That would be cheating.
Smother is efficient, but efficiency comes at a price.
Improving code coverage is no a joke.
Okay, I thought this would be a fun way to play around with introspection and dynamic programming in Ruby.
I don't actually recommend anyone actually use this in any setting anywhere.
Are you sure you want to contribute to this monstrosity?
Well, don't let me stop you. Bug reports and pull requests are welcome on GitHub at https://github.com/hschne/smother. Contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.