Implementing Unit Testing Best Practices

Software Testing    |    Intermediate
  • 14 videos | 1h 20m 27s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 67 users Rating 4.4 of 67 users (67)
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

  • 1m 28s
  • 6m 33s
    Upon completion of this video, you will be able to describe Agile testing and testing strategies that can be adopted in the Agile software development process, with a focus on the Agile Testing Quadrants. FREE ACCESS
  • Locked
    3.  Unit Testing Patterns
    5m 53s
    After completing this video, you will be able to list prominent unit testing patterns and the scenarios where the patterns are applicable. FREE ACCESS
  • Locked
    4.  Good and Bad Unit Tests
    6m 50s
    In this video, find out how to compare good and bad tests and specify the goals and approaches of writing good unit tests. FREE ACCESS
  • Locked
    5.  Unit Testing Framework Comparison
    7m 22s
    In this video, learn how to compare prominent code-driven unit testing frameworks. These frameworks can be used to write unit tests in various programming languages. FREE ACCESS
  • Locked
    6.  AAA Testing with JUnit and TestNG
    8m 12s
    In this video, you will learn how to implement the AAA unit testing pattern using JUnit and TestNG. FREE ACCESS
  • Locked
    7.  Test Double for Mocking
    5m 39s
    After completing this video, you will be able to recognize the need for Test Double and describe how Dummy object, Fake object, stub class, and Mock object can facilitate test replacements. FREE ACCESS
  • Locked
    8.  Mockito API
    7m 10s
    Learn how to apply best practices to the configuration and use of the Mockito API to implement unit tests with Mock objects. FREE ACCESS
  • Locked
    9.  Testing REST API
    7m 55s
    In this video, you will learn how to configure and write JUnit tests to test RESTful APIs using Mocha and Chai. FREE ACCESS
  • Locked
    10.  Using SOAP UI and Custom Code for Web Services
    4m 32s
    In this video, you will learn how to unit test web services using SOAP UI and custom code. FREE ACCESS
  • Locked
    11.  Database API Unit Testing
    6m 26s
    Find out how to write unit tests using DBUnit to test data access objects. These objects are written for database-driven applications. FREE ACCESS
  • Locked
    12.  TDD Process and Unit Test
    7m 13s
    In this video, you will learn how to implement unit testing using the test-driven development process based on sample scenarios. FREE ACCESS
  • Locked
    13.  Automated Testing with JUnit and Selenium
    3m 58s
    In this video, you will learn how to use JUnit and Selenium to do automated testing to improve browser compatibility. FREE ACCESS
  • Locked
    14.  Course Summary
    1m 16s
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.6 of 171 users Rating 4.6 of 171 users (171)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 1966 users Rating 4.6 of 1966 users (1966)
Rating 4.6 of 4717 users Rating 4.6 of 4717 users (4717)
Rating 4.7 of 4585 users Rating 4.7 of 4585 users (4585)