Unit Testing in DevOps Software Development


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

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.



Expected Duration (hours)
1.4

Lesson Objectives

Unit Testing in DevOps Software Development

  • 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
  • Course Number:
    it_atbdutdj_01_enus

    Expertise Level
    Intermediate