Unit testing with JUnit




DESCRIPTION

The objective of this training is to learn how to test your code with the JUnit reference framework. In particular, you will be able to: understand the principles of testing, implement JUnit, implement unit tests and integration tests, use JUnit in continuous integration.

Prerequisites:
  • OO Programming.
  • Good Java practice.

  Download syllabus






DETAILS

  •   Course syllabus
  • Introduction
    Unit testing
    Typology of tests
    What is the cost of testing
    What tests to perform?
    XP Programming, TDD
    Practices and recommendations
    Automate testing
    The Java ecosystem for testing

    Unit Testing
    TestCase, constraints, conventions
    Structure of a test
    Getting started with JUnit
    Write a good unit test
    Hamcrest assertions and constraints
    Assertions, failure and error
    Running Tests

    Unit tests: continued
    Exception throwing test
    Tests with timeout
    Parameterized tests, dynamic tests
    Repeated and nested tests
    TestSuite, filtering and tagging
    Disabling a test
    Using annotations (JUnit 4)
    Best practices

    Mocks
    How ti omplement it
    Static vs dynamic Mock
    The different mocks
    Mock frameworks
    EasyMock, JMockit, PowerMock
    Mockito
    Best practices

    Integration Testing
    Introduction
    Servers and databases
    Data Access Layers testing
    REST API testing
    Web Application testing

    Go further
    Test Driven Development
    Continuous integration
    Jenkins Integration
    Behavior Driven Development

  •   What's included
  • + Experienced instructor
    + Complete syllabus
    + Course material (PDF)
    + Miscellaneous course notes

  •   Who it is for
  • + Developers,
    + Java developers,
    + Project managers.

  •   Certification
  • The training is illustrated by case studies and practical work. It does not yet lead to certification.



BENEFITS. TESTIMONIALS

  • Your Reconvert instructor,
  • Hands-on based teaching,
  • Immediate access to VODs if available,
  • Good quality PDF materials.

Excellent quality, the teacher knows how to create an environment of trust and confidence which makes the training really enjoyable. The course was dynamic and easy to understand. The trainer is an excellent instructor.
J. Ruiz
The Moneytizer, Mexico

The training session with you was awesome, really interesting and full of useful information. I’m currently a Cloud & Big Data engineer with Micropole, Paris. Thanks.
A. Chuttoo
Micropole, France

These 4 days have been enriching. After a training-course in HTML and then CSS, the one on Javascript gave me a lot more knowledge and skills in client side web development.
J. Salgueiro
The Moneytizer, Brazil



Other references :

Click on the logo.


Capgemini Atos Allianz TheMoneytizer CPAM M2iFormation Global Knowledge Ikea Hewlett Packard Department of Defense AKKA Ministry of the Interior AFP Enedis Viveris Titeflex Others


DURATION (H)



Duration : 14 hours.



PRICE & QUOTES

  •   Online Instructor Led
  • Get a quote now.
    Video conference tools : Zoom or Teams.
    Getting a quote does not require any payment or commitment.

    Guide price : $1410




Others trainings

Python programming by hands-on
Learn by hands-on how to program in Python language : syntax, functions, databases.

HTML5 & CSS: how to create modern websites
Learn how to create modern web pages using HTML5 and CSS3 languages.

Creating dynamic PHP web applications
Learn to create PHP applications connected to SQL databases.

Workshop: discovering web development
Discover web development in 30 minutes, and see if this job is for you.

Getting started in algorithms with Java
Learn how to solve a problem by describing it in pseudo code language and then by producing a Java code.

Workshop: learn SQL with MySQL
Learn how to get started with a database by writing simple SQL clauses.

Mastering SQL language with MySQL
Learn how to write and test SQL for your web application data.

Workshop: learn programming with Python
Get started with Python by learning how to install it and create small programs.

Javascript programming
Learn how to create interactivity on the browser with the Javascript language.

E-marketing: techniques and tools
Understand and carry out e-marketing campaigns with professional tools.

How to create a blog without coding
Learn how to create a personal or business blog in your web browser, without programming.

jQuery programming
Learn how to create interactivity with jQuery and use Ajax technology.

Java Database Connectivity
Learn how to perform the interaction between Java code and a relational database.

GIT - source code management
Learn how to manage and deploy all your IT projects with Git and GitHub.

UML: analysis and design
Learn to design object applications with UML by representing entities in classes and interactions between objects.

Java SE programming
Learn how to create Java applications using object-oriented programming.

Java Web Programming
Learn how to create dynamic, data-connected web applications using Java and JEE technology.

JPA and Hibernate persistence
Learn how to use the JPA standard and the Hibernate ORM to manage persistence in your applications.

Spring Web programming
Learn how to use Spring Framework, Spring MVC and Spring Boot to build secure web applications.

Web services with Java REST API
Learn how to create REST services in Java, secure them, deploy them and consume them.

Angular: web development
Learn how to develop web applications using the Angular framework.

Web application security
Learn how to detect attacks, secure web applications, implement best practices in web security.

Python API and REST Web Services
Learn how to create REST services in Python, secure them, deploy them and consume them.

Advanced PHP, Doctrine and Web Services
Learn how to create object-oriented PHP applications using specialized libraries and Web services.

Symfony : web development
Learn Symfony concepts to create modern and secure MVC web applications.

Django: web development with Python
Learn how to develop web applications in Python using the Django framework.