In this video, use RSpec and build upon Explore California's unit tests to run 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 running RSpec tests against resources on the internet.
- [Instructor] So I'm going to go ahead and save this … and I already applied the infrastructure, … so I'm going to go ahead and run my integration test. … I need to run selenium so let me go ahead and do that. … Docker composed of D-selenium. … So I'm going to go ahead and start that … and then I'm going to start my VNC session … since the image that we're using for selenium has VNC in it. … So I'm going to do screen share. … And it's sharing at 5901 with the super, awesome secret … password of secret. … So there's our window, there, … and now we're going to run our integration test. … So docker-compose run-rm integration-tests. … So every single service has it's own image. … That's why you see building … and then the name of the service after you do a … docker compose run. … Since we haven't run this before it's building, … but not really because it's all the layers are cached. … So we have an error. … Let's see. … Looks like my syntax is a little off, … so let me go ahead and fix that real quick. …
- 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.