Introduction to Unit Testing in Java

Rating:
2 votes, average: 5.00 out of 52 votes, average: 5.00 out of 52 votes, average: 5.00 out of 52 votes, average: 5.00 out of 52 votes, average: 5.00 out of 5
Loading...
Please Log in or register to rate

Introduction to Unit Testing in Java

TDD-106

Unit testing is known as one of the most effective software practices. Developers who write unit tests have less bugs, fix those bugs faster, and speed up development as a whole.

This course will introduce unit testing tools in the Java space. Attendees will practice the needed techniques to start testing both new and existing code.

Course Goals

Following the workshop, attendees will be able to:

∗ Use unit testing tools like JUnit in Eclipse
∗ Write unit tests in Java
∗ Refactor code to make it more testable
∗ Mock different kinds dependencies
∗ Include tests in automated builds

Audience

The course is intended for Java developers and team leaders.

Course Topics
  • What are unit tests and how they compare to other types of tests
  • Pros and cons
  • Java unit testing frameworks (JUnit and others)
  • Manual mocking
  • Java mocking frameworks (Mockito and PowerMockito)
  • Using unit tests in automated builds
  • Unit testing best practices
  • Introduction to Test Driven Development
© Copyright - Skilit - Site by Dweb