Java Testing - Basics
Java Testing is a training for people programming in Java who want to test more effectively using JUnit, AssertJ, or Mockito.
Ideal for teams that…
Software testing and quality — automation and QA methodologies.
You will gain skills in effective testing of code in Java using tools such as JUnit, AssertJ, and Mockito.
You will learn why unit tests are important, how to write good tests, and when it is worth or not worth testing.
You will master the basics of JUnit, including integrating it into a project and creating the first simple tests as well as valuable test cases.
You will learn the advantages of the AssertJ library in creating assertions and why assertions built into the framework are insufficient.
You will understand the principles of mocking with Mockito, which will allow you to separate tests from external dependencies.
What we actually do
- · Unit test theory Motivation Principles of writing good tests Good practices and common mistakes When it is worth and not worth testing?
- · JUnit Integrating into a project First simple test Creating valuable test cases
- · AssertJ What are assertions? Why the ones built into the framework are insufficient AssertJ – the best library for assertions in Java
- · Mockito How to separate the test from external dependencies? Good practices related to mocking
- · Project
From brief to retro in 30 days.
Brief & diagnosis
A call with the team lead + a short survey for participants. We define goals, gap and context.
Program customization
We adapt modules, case studies and code examples to your stack. Approval in 5 days.
Workshop
Trainer-led sessions, hands-on, code review. Mentor available between sessions too.
Retro + report
Outcome report for the team and lead. 30 days of consulting included.
Send a brief. We'll reply within 1 day.
After a short brief we'll prepare a program and a quote. No obligations — it's just a starting point.
Thank you!
We'll get back to you within 1 business day.
Other programs for teams
See all →BDD
Software testing and quality — automation and QA methodologies.
Frontend testing
Software testing and quality — automation and QA methodologies.
JUnit for advanced users
Software testing and quality — automation and QA methodologies.