rubocop-rspec
mutant
Our great sponsors
rubocop-rspec | mutant | |
---|---|---|
2 | 5 | |
779 | 1,921 | |
0.5% | - | |
9.0 | 8.2 | |
16 days ago | 18 days ago | |
Ruby | Ruby | |
MIT License | Nonstandard |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rubocop-rspec
- Best practices as code using RuboCop
-
Beginner's Guide to RuboCop in Rails
rubocop-rspec For Rspec; a test framework popular for testing Rails code
mutant
-
An ex-Googler's guide to dev tools
There's a pretty good Ruby gem I've used for this before:
https://github.com/mbj/mutant
-
Code coverage vs mutation testing.
You should only really care about mutation testing if your code coverage is relatively high. If your code coverage is 20% then mutation testing should not be your priority. We use mutation testing (mutant for Ruby, pitest for Java). mutant is pretty hassle-free but only works when running under MRI so if you use jruby you are out of luck. pitest was far less easy to integrate.
- Mutant – Automated code reviews via mutation testing – semantic code coverage
- Automated code reviews via mutation testing - semantic code coverage.
-
Semantic blind spot in Ruby case statement
mutant shows redundant semantics, why we'd like to reduce them is perhaps better explained at https://github.com/mbj/mutant#what-is-mutant
What are some alternatives?
rufo - The Ruby Formatter
Ruby-JMeter - A Ruby based DSL for building JMeter test plans
rubocop-minitest - Code style checking for Minitest files.
Spring - Rails application preloader
standard - Ruby's bikeshed-proof linter and formatter 🚲
Parallel Tests - Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber
shoulda-matchers - Simple one-liner tests for common Rails functionality
vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
rubocop-rake - A RuboCop plugin for Rake
rspec-side_effects - RSpec extension for checking the side effects of your specifications.
strong_migrations - Catch unsafe migrations in development
timecop - A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.