Implementing Unit Testing Best Practices

  • 14 Videos | 1h 26m 27s
  • Includes Assessment
  • Earns a Badge
Likes 18 Likes 18
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 course
    describe Agile testing and testing strategies that can be adopted in the Agile software development process, with a focus on Agile Testing Quadrants
    list prominent unit testing patterns and scenarios where the patterns are applicable
    compare good and bad tests and specify the goals and approaches of writing good unit tests
    compare prominent code-driven unit testing frameworks that can be used to write unit tests in various programming languages
    implement the AAA unit testing pattern using JUnit and TestNG
    recognize 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 objects
    configure and write JUnit tests to test RESTful APIs with Mocha and Chai
    unit test web services using SOAP UI and custom code
    write unit tests using DBUnit to test data access objects that are written for database-driven applications
    implement unit testing using the test-driven development process based on sample scenarios
    implement automated testing with JUnit and Selenium to achieve enhanced browser compatibility
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 28s
    UP NEXT
  • Playable
    2. 
    Agile Testing and Software Dev Process
    6m 33s
  • Locked
    3. 
    Unit Testing Patterns
    5m 53s
  • Locked
    4. 
    Good and Bad Unit Tests
    6m 50s
  • Locked
    5. 
    Unit Testing Framework Comparison
    7m 22s
  • Locked
    6. 
    AAA Testing with JUnit and TestNG
    8m 12s
  • Locked
    7. 
    Test Double for Mocking
    5m 39s
  • Locked
    8. 
    Mockito API
    7m 10s
  • Locked
    9. 
    Testing REST API
    7m 55s
  • Locked
    10. 
    Using SOAP UI and Custom Code for Web Services
    4m 32s
  • Locked
    11. 
    Database API Unit Testing
    6m 26s
  • Locked
    12. 
    TDD Process and Unit Test
    7m 13s
  • Locked
    13. 
    Automated Testing with JUnit and Selenium
    3m 58s
  • Locked
    14. 
    Course Summary
    1m 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.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 32 Likes 32  
COURSE SOLID & GRASP
Likes 3218 Likes 3218  
Likes 120 Likes 120