Implementing Unit Testing Best Practices
Intermediate
- 14 Videos | 1h 20m 27s
- Includes Assessment
- Earns a Badge
Explore prominent unit testing patterns, differences between good and bad unit tests, code-driven unit testing frameworks, and other topics in this 14-video course. Begin with a look at Agile testing, focusing on Agile Testing Quadrants, then move on to prominent unit testing patterns and scenarios. Compare good and bad tests and the goals and approaches of writing good unit tests, and compare prominent code-driven unit testing frameworks that can be used to write unit tests in various programming languages. Discover how to implement the AAA unit testing pattern by using JUnit and TestNB, and the need for Test Double and how Dummy, Fake, stub class, and Mock objects are used to facilitate test replacements. Use Mockito application programming interface (API) to implement unit tests, and configure and write JUnit tests to test RESTful APIs with Mocha and Chai. In addition, unit test web services using SOAP UI, and use DBUnit to test data access objects written for database-driven applications. Explore unit testing using test-driven development (TDD) process, and automated testing with JUnit and Selenium.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this coursedescribe Agile testing and testing strategies that can be adopted in the Agile software development process, with a focus on Agile Testing Quadrantslist prominent unit testing patterns and scenarios where the patterns are applicablecompare good and bad tests and specify the goals and approaches of writing good unit testscompare prominent code-driven unit testing frameworks that can be used to write unit tests in various programming languagesimplement the AAA unit testing pattern using JUnit and TestNGrecognize the need for Test Double and describe how Dummy object, Fake object, stub class, and Mock object are used to facilitate test replacements
-
apply best practices to the configuration and use of the Mockito API for implementing unit tests with Mock objectsconfigure and write JUnit tests to test RESTful APIs with Mocha and Chaiunit test web services using SOAP UI and custom codewrite unit tests using DBUnit to test data access objects that are written for database-driven applicationsimplement unit testing using the test-driven development process based on sample scenariosimplement automated testing with JUnit and Selenium to achieve enhanced browser compatibilitysummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview1m 28sUP NEXT
-
2.Agile Testing and Software Dev Process6m 33s
-
3.Unit Testing Patterns5m 53s
-
4.Good and Bad Unit Tests6m 50s
-
5.Unit Testing Framework Comparison7m 22s
-
6.AAA Testing with JUnit and TestNG8m 12s
-
7.Test Double for Mocking5m 39s
-
8.Mockito API7m 10s
-
9.Testing REST API7m 55s
-
10.Using SOAP UI and Custom Code for Web Services4m 32s
-
11.Database API Unit Testing6m 26s
-
12.TDD Process and Unit Test7m 13s
-
13.Automated Testing with JUnit and Selenium3m 58s
-
14.Course Summary1m 16s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.