Selenium is a popular tool for automating web browsers. This is very useful for writing and running tests against things that are rendered within a browser. In this video, learn how to run your browser-facing RSpec unit test through Docker Compose.
- [Instructor] Now this could take longer depending on … whether this is your first time doing this … and since it most likely is … this will probably take a lot longer … as it will download a lot of intermediary layers … and set them all up. … Then we're going to run Docker Compose, … run and -rm the container when we're done … unit tests … so that we can run our unit tests once again. … But before we do this … I want to open our VNC client on max. … They come with a VNC client by default. … That client is called screen sharing. … On Windows Linux you have other options. … You have Real VNC, you have Tight VNC viewer, … you have Tiger VNC viewer. You have a lot of options. … But on the Mac screen sharing is it. … So I am going to say VNC.localhost.5901 … Not going to run that just yet. … Or actually we can run this … because we started our selenium container … so let's go ahead and connect. … And it asks us for a password if we're successful … and the password-and don't tell anyone- …
- 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.