Set up tests in Java


Training overview

Setting up tests is always a complicated point in applications. Whether it is the choice of what we must actually test, but also what are the tools best suited to this need. This training aims to present what and how to test?


-Understand the concepts presented in the different training modules
– Be able to make choices between the different techniques presented
– Succeed in implementing them independently when the module is accompanied by practical work

Target audience

All people who have to set up different types of tests.


    Why test?
    Before you start thinking about how to design tests, it’s important to look at why test and what it involves in an IT project.
    – The usefulness of the test
    – The impact of tests on a project
    – Testing methods

    JUnit is the most well-known testing API in the Java world. It allows to set up unit tests
    – Introducing JUnit
    – Assertions
    – Test classes
    – Fakes and mocks
    – Mock generation frameworks

    The Mockito framework
    Presentation of Mockito and use with Eclipse.
    – Introducing Mockito
    – Mockito’s Architecture
    – Using Mockito

    Test coverage
    A difficult thing to determine when setting up unit tests is to be sure of what has been tested. For this, we will use tools that will analyze the effective coverage of these tests.
    – Test coverage
    – Test coverage tools

    Presentation of TestNG which is a test framework which is an evolution and an improvement of JUnit.
    – Introducing TestNG
    – The different ways to use TestNG
    – Introducing JMockit
    – Using TestNG to do unit tests

    Testing Java EE applications
    Java EE applications are architecturally difficult to test. However, JUnit does not allow you to do this. To perform the tests, we will use frameworks such as cactus and JUnitEE.
    – The issue of testing for Java EE applications
    – The cactus framework
    – The JUnitEE framework

    Functional tests and load tests
    In order to ensure the (functional) validity of an application and its resistance to the increase in the number of users, we will also have to set up tests. For this, we will use tools such as JMeter and eValid.
    – Functional tests and load tests
    – Functional test tools
    – Presentation and use of JMeter

    Integration and acceptance tests
    Integration and acceptance tests are extremely important to ensure proper operation and availability of the application, but also that no interaction takes place with other applications.
    – What is an integration test?
    – Implementation of integration tests
    – The role of the acceptance test and its implementation

    Conclusion on the tests and the associated tools
    A conclusion on how to use
    – What conclusion can be drawn on the implementation of tests?
    – Continuous integration servers

What's More

Digital Finance

Please wait while flipbook is loading. For more related info, FAQs and issues please refer to DearFlip WordPress Flipbook Plugin Help documentation.

Means of contact

  1. Telephone

    +216 96 803 221

  2. Email

  3. Whatsapp


Switch The Language

    Upgradetek Engineering is a strategy and management consulting firm, specialized in the transformation of financial institutions. As one of the leaders of this sector in Tunisia, we have been supporting our banking and financial clients for more than 14 years in the evolution of their business model, in defining and implementing new target business models and improving their performance.

    23, Avenue of Naplouse 1001 Tunis, Tunisia
    +216 71 33 93 95