Socket
Book a DemoInstallSign in
Socket

smother

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smother

1.0.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Smother

Logo

Smother is a revolutionary tool to ✨ magically ✨ increase your test coverage! Don't just cover your code - smother it! ☁️

Without Smother 👎With Smother 👍
Screen Shot 2025-04-26 at 20 59 15Screen Shot 2025-04-26 at 21 08 15

Why 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!

Usage

Install Smother and call it in your test suite. A single test will do.

bundle add smother
test 'smother everything' do
  Smother.my_code
end

That's it. Now run your tests and enjoy your improved coverage! 🤩

How It Works

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.

FAQ

Wait, where are the assertions? This doesn't actually test anything?!

Who cares? Smother improves your code coverage. Brrr, Number go up! 📈

Why not use AI to generate tests?

Why waste your precious credits if Smother can magically improve your code coverage in seconds?

Why not fake the coverage results altogether?

That would be cheating.

Smothering my code feels... violent?

Smother is efficient, but efficiency comes at a price.

Is this a joke?

Improving code coverage is no a joke.

No, really.

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.

Contributing

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.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 26 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.