Coder Social home page Coder Social logo

olegnovitskiy / mastering-junit5 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bonigarcia/mastering-junit5

0.0 2.0 0.0 433 KB

Code examples of Mastering Software Testing with JUnit 5

Home Page: http://bonigarcia.github.io/

License: Apache License 2.0

Java 99.28% Gherkin 0.60% HTML 0.12%

mastering-junit5's Introduction

Build Status License badge Twitter

This repository contains code examples of JUnit 5 for the book Mastering Software Testing with JUnit 5, authored by Boni Garcia and published by Packt. These examples covers the main features of JUnit 5, such as:

  • JUnit 5 tests lifecycle.
  • Assertions.
  • Tagging and filtering tests.
  • Conditional test execution.
  • Nested and repeated tests.
  • Migration from JUnit 4.
  • Dependency injection.
  • Dynamic tests.
  • Test interfaces.
  • Test templates.
  • Parameterized tests.

Moreover, the integration with third-party frameworks and technologies is also illustrated with examples, concretely:

  • Mockito (popular mock framework).
  • Spring (Java framework aimed to created enterprise applications based on dependency injection).
  • Docker (container platform technology).
  • Selenium (test framework for web applications).
  • Appium (driver for mobile devices).
  • Android (open source mobile operating system based on Linux).
  • REST services (using REST Assured, Retrofit2, or WireMock).

JUnit 5 versions

This repository has different tags, one per minor version of JUnit 5. Currently, the available tags are the following:

Complete example

The project Rate my cat! contains a sample web application based on Spring Boot (Spring MVC, Thymeleaf, and Spring Data JPA) with a complete set of JUnit 5 tests (unit with Mockito, integration with Spring, and end-to-end tests with Selenium).

About

This is a project made by Boni Garcia, Assistant Professor at U-tad and Researcher at Universidad Rey Juan Carlos, Spain. Copyright © 2017-2018.

mastering-junit5's People

Contributors

bonigarcia avatar lorenzobettini avatar sskorol avatar

Watchers

James Cloos avatar Oleg Novitskiy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.