Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
minitest-bonus-assertions
Advanced tools
= minitest-bonus-assertions
code :: https://github.com/halostatue/minitest-bonus-assertions bugs :: https://github.com/halostatue/minitest-bonus-assertions/issues continuous integration :: {}[https://travis-ci.org/halostatue/minitest-bonus-assertions]
== Description
Bonus assertions for {Minitest}[https://github.com/seattlerb/minitest], providing assertions I use frequently, supporting only Ruby 2.0 or better.
== Features
New assertions:
I am also providing the Minitest-tester code I use as something that can be required by other developers. This should only be used to test Minitest assertions and extensions. For more information on Minitest::AssertionTests, see its documentation.
== Background
minitest-bonus-assertions started life as a patch to Ben Somer’s {minitest-extra-assertions}[https://github.com/bensomers/minitest-extra-assertions]. There were some nice assertions included, but there were other changes that needed to be made to bring it up to support Minitest 5. There was also an override to the default +assert_match+ implementation meant to ease the transition from Test::Unit (the main reason he wrote this assertion plugin for Minitest in the first place). I do not believe this is sensible five major versions into Minitest: I removed it. Ben did not feel comfortable making this particular change, so I felt that the best way to provide the original assertions and my new assertions—without the +assert_match+ override—was to fork this as a new project. I am indebted to Ben and his contributors for writing these assertions in the first place.
== Install
Add it to your Gemfile:
gem 'minitest-bonus-assertions', '~> 1.1'
Or manually install:
% gem install minitest-bonus-assertions
== minitest-bonus-assertions Semantic Versioning
minitest-bonus-assertions uses a {Semantic Versioning}[http://semver.org/] scheme with one change:
:include: Code-of-Conduct.rdoc
:include: Contributing.rdoc
:include: Licence.rdoc
FAQs
Unknown package
We found that minitest-bonus-assertions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.