Writing a test in Selenium

- [Instructor] Functional tests are all about testing … things that a user would actually do with our project. … So in order to test that we need a tool … that will simulate what a user would do. … And there's no better tool than Selenium. … Selenium is awesome because it allows you … to actually pull up a real browser like Chrome or Firefox … and actually simulate what someone would do … with your website. … So let's go ahead and talk about how we can … get this installed on our own computer. … Make sure that you are in a place … that you'd like to save some code. … We're going to make like a python file … and a Django project. … So personally I'm going to move over to my desktop. … And the first thing that we need to do … is create a virtual environment. … And we have to make sure that we have a virtual environment … installed via Pip Three. … So let's go ahead and do Pip Three … install virtual environment. … Okay, once you have that in place … we're going to say virtual environment. …

Resume Transcript Auto-Scroll

Author

Released

3/12/2019

As a high-level Python web framework, Django is very useful for developers to understand. Combining Django with a test-driven development process can lead to higher-quality code and a faster development cycle. In this course, follow along with Nick Walter as he explains test-driven development with Django. Nick explores functional tests and unit tests, discussing the differences. He also covers advanced testing methods, the Django testing framework, hash testing, POST requests, AJAX, and more.