In this video, learn how to create a Dockerfile that you can use to run your RSpec unit tests.
- [Instructor] So let's go ahead and create a new … rspec.dockerfile. … Let's open it. … And in the meantime, let's actually … have in a separate window the docker file for our website. … So in a split tab here I'm going to have /dockerfile open. … Just so that I have a good reference of what I'm doing … for my new docker file. … So I'm going to say from ruby alpine … and I just knew this from experience, … however, if you want to find … container images like this, you can go into the docker hub … like we did earlier to find rspec. … Because when you use the from line, it sources those images … from the docker hub by default. … So I'm going to add from ruby alpine … and I'm going to say maintainer is me. … Cool. … So the first thing that we're going to do is … we're going to tell this container to install … RSpec Capybara and Selenium … so we're going to use the run command to do that. … And the run command that we want to run is … gem install rspec capybara and selenium web driver. …
- Writing your first Dockerfile
- Using Docker Compose
- Testing your app with RSpec, Capybara, and Selenium
- Writing Terraform code
- Deploying a website into AWS S3
- Writing and running integration tests
- Writing a CI/CD pipeline with Jenkins
Skill Level Beginner
1. The Project/The Mission
Your application, pre-DevOps2m 59s
2. Testing Locally with Docker
3. Testing Your App with RSpec, Capybara, and Selenium
4. Infrastructure as Code with Terraform
5. CI/CD as Code with Jenkins
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.