rspec_junit_formatter
mutant
rspec_junit_formatter | mutant | |
---|---|---|
1 | 5 | |
298 | 1,926 | |
- | - | |
0.6 | 8.2 | |
4 days ago | 12 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.
rspec_junit_formatter
-
How to run fast RSpec tests on CircleCI with parallel jobs and have nice JUnit XML reports in CircleCI web UI
rspec_junit_formatter - it’s a ruby gem that generates an XML report for executed tests with information about test failures. This report can be automatically read by CircleCI to present it in CircleCI web UI. No more browsing through long RSpec output - just look at highlighted failing specs in the TESTS tab :)
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?
Knapsack - Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time.
Ruby-JMeter - A Ruby based DSL for building JMeter test plans
knapsack_pro-ruby - Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests run in optimal time
Spring - Rails application preloader
shoulda-matchers - Simple one-liner tests for common Rails functionality
Parallel Tests - Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber
Spork - A DRb server for testing frameworks (RSpec / Cucumber currently) that forks before each run to ensure a clean testing state.
vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
circleci-cli - :cyclone: CLI client / command line tool for CircleCI
rspec-side_effects - RSpec extension for checking the side effects of your specifications.
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.
Appraisal - A Ruby library for testing your library against different versions of dependencies.