Unit Testing in DevOps Software Development

Unit Testing    |    Intermediate
  • 16 videos | 1h 22m 55s
  • Includes Assessment
  • Earns a Badge
Rating 2.9 of 175 users Rating 2.9 of 175 users (175)
Explore unit testing, the key properties of good unit test programs, and learn how to differentiate between unit testing and integration testing in this 16-video. View key components of unit testing frameworks and how they can help developers write and execute tests, and review test results. Learn best practices for writing productive test cases and anti-patterns that should be avoided. Then examine common unit testing tools for testing Java and JavaScript programs; and write and run unit tests with JsUnit and Qunit. Test server-side JavaScript using Mocha and Chai; learn core testing and refactoring techniques for developing testable and maintainable code; and observe guidelines and techniques for managing bugs in tests. Create test cases and test suites with JUnit; explore testing by using TestNG, and recognize the role of unit testing in test automation and use AAA pattern to derive test cases. Conclude the course by recalling benefits of using test automation frameworks in the software delivery lifecycle, and examining features of popular test automation frameworks that can be used to automate test executions.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Describe unit testing, list the key properties of good unit testing programs, and differentiate between unit testing and integration testing
    Recall the key components of unit testing frameworks and describe how unit testing frameworks can help developers write and execute tests, and review test results
    Describe best practices for writing productive test cases and anti-patterns that should be avoided
    List unit testing tools that can be used to test java and javascript programs, along with associated use case scenarios
    Write and run unit tests using jsunit and illustrate features provided in the jsunit framework
    Write unit test cases using qunit and use assertions and callbacks in qunit
    Test server-side javascript using mocha and chai
  • Describe core testing and refactoring techniques that can help develop testable and maintainable code
    Recognize guidelines and techniques that can help with writing trustworthy tests and approaches of managing bugs in tests
    Create test cases and test suites using junit and illustrate the use of the timeout and ignore annotations
    Use the @test annotation and the invocationcount and threadpoolsize attributes to test web sites
    Recognize the role of unit testing in test automation and use the aaa pattern to derive test cases
    Recall the benefits of using test automation frameworks in the software delivery lifecycle
    Describe the features of the popular test automation frameworks that can be used to automate test executions
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 18s
  • 6m 4s
    Upon completion of this video, you will be able to describe unit testing, list the key properties of good unit testing programs, and differentiate between unit testing and integration testing. FREE ACCESS
  • Locked
    3.  Unit Testing Frameworks
    8m 52s
    After completing this video, you will be able to recall the key components of unit testing frameworks and describe how unit testing frameworks can help developers write and execute tests, and review test results. FREE ACCESS
  • Locked
    4.  Best Practices and Anti-patterns of Test Cases
    7m 47s
    After completing this video, you will be able to describe best practices for writing productive test cases and anti-patterns that should be avoided. FREE ACCESS
  • Locked
    5.  Unit Testing Tools
    5m 24s
    Upon completion of this video, you will be able to list unit testing tools that can be used to test Java and JavaScript programs, along with associated use case scenarios. FREE ACCESS
  • Locked
    6.  Using JsUnit
    5m 27s
    In this video, find out how to write and run unit tests using JsUnit, and illustrate features provided in the JsUnit framework. FREE ACCESS
  • Locked
    7.  Using QUnit
    3m 17s
    During this video, you will learn how to write unit test cases using QUnit, how to use assertions and callbacks in QUnit. FREE ACCESS
  • Locked
    8.  Server-side Unit Testing with Mocha and Chai
    4m 33s
    In this video, you will learn how to test server-side JavaScript using Mocha and Chai. FREE ACCESS
  • Locked
    9.  Testing and Refactoring Techniques
    5m 33s
    After completing this video, you will be able to describe core testing and refactoring techniques that can help you develop testable and maintainable code. FREE ACCESS
  • Locked
    10.  Managing Bugs in Tests
    4m 6s
    Upon completion of this video, you will be able to recognize guidelines and techniques that can help with writing trustworthy tests and approaches of managing bugs in tests. FREE ACCESS
  • Locked
    11.  Unit Testing Using JUnit
    10m 19s
    In this video, you will learn how to create test cases and test suites using JUnit, and how to use the Timeout and Ignore annotations. FREE ACCESS
  • Locked
    12.  Testing Using TestNG
    3m 57s
    In this video, you will use the @Test annotation and the invocationCount and threadPoolSize attributes to test web sites. FREE ACCESS
  • Locked
    13.  Test Automation and the AAA Pattern
    5m 44s
    After completing this video, you will be able to recognize the role of unit testing in test automation and use the AAA pattern to derive test cases. FREE ACCESS
  • Locked
    14.  Benefits of Test Automation Frameworks
    5m 56s
    Upon completion of this video, you will be able to recall the benefits of using test automation frameworks in the software delivery process. FREE ACCESS
  • Locked
    15.  Test Automation Framework Tools
    3m 5s
    After completing this video, you will be able to describe the features of popular test automation frameworks that can be used to automate test executions. FREE ACCESS
  • Locked
    16.  Course Summary
    1m 33s
    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.5 of 139 users Rating 4.5 of 139 users (139)
Rating 5.0 of 4 users Rating 5.0 of 4 users (4)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.2 of 100 users Rating 4.2 of 100 users (100)
Rating 4.6 of 104 users Rating 4.6 of 104 users (104)
Rating 4.6 of 7361 users Rating 4.6 of 7361 users (7361)