From the course: DevOps Foundations: Your First Project
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Running the test
From the course: DevOps Foundations: Your First Project
Running the test
- [Instructor] So now that we have our Docker composed, let's go ahead and run it. First of all I'm going to start the website with Docker Compose up, but I'm going to use a dash D option to hide the output from the website. So docker-compose up website. And then I'm going to run my unit tests against the website. So I'm going to do docker-compose run. And then I'm going to put this RM option so that Docker Compose doesn't save the container when it's done doing what it needs to do. That way I can save some space. So unit tests... And so now it's going to build our unit tests. This can take a while. Ah, I spelled something wrong. Let me go ahead and fix that. Mantainer, no, let's try maintainer. This can take a while, depending on your system and your network connection because this is quite, this is quite big. And in addition to that it does some code compilation, so that can take a while depending on how fast…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Setting up your test5m 31s
-
(Locked)
Setting up your Docker Compose service3m 4s
-
(Locked)
Creating the Dockerfile6m 58s
-
(Locked)
Running the test2m 3s
-
(Locked)
Identifying and testing an element4m 14s
-
(Locked)
Setting up Selenium8m 33s
-
(Locked)
Adding Selenium service to Docker Compose2m 23s
-
(Locked)
Running your test with Selenium3m 2s
-
(Locked)
-
-
-