This shows you how to add running your Ruby RSpec or Cucumber browser tests in parallel natively (macOS) and in your docker compose framework.
This guides you through adding the test data fixture utility factory_bot to your Ruby on Rails RSpec project.
To install factory_bot you will need to...
- Add the factory_bot_rails gem to your Rails RSpec project
- Configure factory_bot_rails to be used by RSpec Rails
🙇 📖 I originally learned this from these posts...
This guides you through adding the test expectation-matching utility shoulda-matchers to your Ruby on Rails RSpec project.
To install shoulda-matchers you will need to...
- Add the shoulda-matchers gem to your Rails RSpec project
- Configure shoulda-matchers to integrate with RSpec Rails
In this third post in this series on the fundamentals of software testing, I finish the topic of which values to test as part of your Verification Testing which I started in my previous post on using Boundary-Value Analysis.
Even if you can test all possible values of what you are testing (also known as the system under test), you do not need to waste
In my last post (and the first of this series), I covered the three items comprising the intent of your testing when adding new behavior or changing existing behavior of your software system. In this post, I cover the most basic concept of which values to test as part of your Verification Testing.
Basically, you want to test the boundaries of the possible values
I'll start with one of the most basic testing fundamentals. It is also one that you will likely find applies in your day-to-day software development.
When you make a software change like adding new behavior or changing existing behavior, you need your testing to prove 3 things:
- Your changes result in the desired new or changed behavior.
🏫 To learn what multi-platform images are, see this post from Docker Multi-arch build and images, the simple way
You can use Docker Desktop for Mac to build and push multi-platform
images to support your containers running on different
CPU architectures like Intel/amd64
and Apple Silicon/arm64
.
This guide helps you set up the fundamentals needed for software development on macOS. This enables you to install your own language/framework specific development environment (such as Ruby/Rails, Python etc.)
This guide is optimized by following the minimum critical path to get you up and running.