Logo
flag

Unit testing in Java with JUnit

Logo

Please rate the course

0.0
Source:
Category:
Language:
Russian
Duration:
02:33:46
Number of lessons:
7
Update date:
28/03/2020
Rating:
0.0

Course short description

Testing is an important part of the development process. Unit or unit testing is one of the foundations of a properly structured application development process, which allows you to check the functionality of individual application blocks or units. JUnit is the most popular unit testing framework in the Java development world. Confident mastery of this framework will be a serious asset in a Java developer's portfolio.


In this course you will look at the possibilities for testing using the latest - fifth version of the JUnit framework, and also get acquainted with the tools of the previous version - JUnit 4, which is still actively used by developers. You will learn the theoretical foundations of unit testing, analyze existing practices for conducting unit tests, and learn how to apply them in your code.

After completing the course, you will be able to easily cover your code with tests and be confident that your code works correctly .

What you will learn in this course:

  • Confidently use the JUnit framework in both versions 5 and 4 to unit test your products.li>
  • Name methods for testing correctly and clearly.
  • Use annotations such as: @Test, @Before, @BeforeClass, @After, @AfterClass, @Ignore and many others.
  • Understand and be able to use the methods of the Assertions class.
  • Run tests in a specific order using the @FixMethodOrder annotation.
  • Run multiple test classes at the same time.
  • Parameterize and group your tests into categories.
  • Migrate previously written code from Junit 4 to JUnit 5.

Write your comment

Logo