ruby_aws_sdk_rspec
mutant
ruby_aws_sdk_rspec | mutant | |
---|---|---|
1 | 5 | |
0 | 1,926 | |
- | - | |
0.4 | 8.2 | |
over 3 years ago | 14 days ago | |
Ruby | Ruby | |
- | 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.
ruby_aws_sdk_rspec
-
Working with the AWS SDK for Ruby - Part II
After clarifying in Part I the differences between Aws::EC2::Client, Aws::EC2::Resource and Resources (e.g. Aws::EC2::Vpc, Aws::EC2::Instance, etc), today we'll see how to add tests while we're using AWS SDK for Ruby. We'll follow the repo pabloxio/ruby_aws_sdk_rspec to understand how to stub responses for the AWS EC2 Client.
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?
AWS SDK for Ruby - The official AWS SDK for Ruby.
Ruby-JMeter - A Ruby based DSL for building JMeter test plans
shrine-lambda - AWS Lambda integration for Shrine File Attachment toolkit for Ruby applications
Spring - Rails application preloader
Fabrication - This project has moved to GitLab! Please check there for the latest updates.
Parallel Tests - Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber
vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
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.
Zapata - An Automatic Automated Test Writer
Wrong - Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail.