In this video, use RSpec and build upon Explore California's unit tests to write an integration test that tests against a "live" instance of Explore California on the internet. Learn how to leverage environment variables within RSpec tests and writing RSpec tests against resources on the internet.
- [Instructor] Explore California is looking … more diversified by the minutes. … We started with a legacy website, … that is maintained in a data center on servers … that are completely different from production, … in production and development. … And now we have a way of locally testing them with Docker … our spec copy borrows Selenium … and we run all that in Docker Compose … and now we are able to deploy this, … into the cloud with Terraform also running in Docker, … also running in Docker Compose. … So the last thing that we want to add here since, … we strongly believe in test here at Explore California, … is in integration test. … We have unit test here, in our spec unit folder, … and it's really simple test, … just to make sure the page actually renders. … But it will be nice to have a test … that just confirms that we can hit the site … and that the page renders on the Internet as well. … So what we are going to do is, … we are going to create a simple integration test, … that does the same thing as this unit test, …
- 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.