Course Code: utstjvphp
Duration: 14 hours
Course Outline:

Unit Testing Course

Intro to unit testing

  • What is unit testing?

  • Unit Testing Benefits

  • Understanding Dependency Injection

  • Designing for Testability  TDD

  • Writing testable code

  • Test automation using unit testing

Java Unit Testing using JUnit

  • JUnit Overview, Test Driven Development

  • Tests and Assertions

  • Working With Exceptions

  • Organizing Tests with JUnit

  • Writing Fixtures - @Before, @After

  • Test Suites, and Other Capabilities

  • Mock Objects Overview

PHP unit testing using PHPUnit

  • PHPUnit Overview

  • Installing PHPUnit

  • PHPUnit Test case building blocks

  • Using phpunit.xml

  • Automating PHP Unit Testing

.net unit Testing

  • Introduction to xUnit

  • TestClass and TestMethod

  • Writing a complete unit testing using xUnit

  • Dependency Injection in xUnit

Javascript unit testing

  • Jest, Mocha and Jasmine

  • Installing Jest

  • Writing unit tests using Jest

  • Mocking using Jest

  • Code coverage report