In this video, learn how to set up your first unit test for Explore California. Learn basic RSpec syntax by developing a unit test skeleton.
- [Instructor] Now that our website works inside of Docker, … we should start thinking about how to … write some automated tests for it. … In this course, we will write a few simple unit tests … for a web app with Tools, RSpec, Capybara, and Selenium. … Then we'll use what we learned to create a Docker file … and a Docker Compose manifest to run these tests … within Docker Compose. … Are you ready? … I'm super ready, let's get started. … RSpec is a Ruby-based testing framework. … I like using it because of its … domain-specific language or DSL. … It makes it really easy to not only write tests, … but also to read them. … In my experience, I've read so many tests … for websites like these that are just even harder … than the actual website … and the thing I like about RSpec is that … its DSL's very declarative … and very easy to read and understand … while still having a lot of power behind it. … We're going to use RSpec to write a couple … of simple unit tests for our app. … Because we're interacting with the website, …
- 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.