All Projects → bonigarcia → Mastering Junit5

bonigarcia / Mastering Junit5

Licence: apache-2.0
A comprehensive collection of test examples created with JUnit 5

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Mastering Junit5

Angularjs Springmvc Sample Boot
A RESTful sample using Spring Boot, Spring MVC, Spring Data and Angular/Bootstrap.
Stars: ✭ 309 (+38.57%)
Mutual labels:  rest, spring-boot, spring
Spring Microservice Sample
Spring Boot based Mircoservice sample
Stars: ✭ 199 (-10.76%)
Mutual labels:  rest, spring-boot, spring
Cerberus
A demonstration of a completely stateless and RESTful token-based authorization system using JSON Web Tokens (JWT) and Spring Security.
Stars: ✭ 482 (+116.14%)
Mutual labels:  rest, spring-boot, spring
testing-spring-boot-applications-masterclass
🍃 Everything You Need to Know About Testing Spring Boot Applications
Stars: ✭ 185 (-17.04%)
Mutual labels:  selenium, mockito, junit
Spring Boot Postgresql Jpa Hibernate Rest Api Demo
Building RESTful APIs with Spring Boot, PostgreSQL, JPA and Hibernate
Stars: ✭ 209 (-6.28%)
Mutual labels:  rest, spring-boot, spring
Spring Boot File Upload Download Rest Api Example
Spring Boot File Upload / Download Rest API Example
Stars: ✭ 300 (+34.53%)
Mutual labels:  rest, spring-boot, spring
Micro Server
Microserver is a Java 8 native, zero configuration, standards based, battle hardened library to run Java Rest Microservices via a standard Java main class. Supporting pure Microservice or Micro-monolith styles.
Stars: ✭ 929 (+316.59%)
Mutual labels:  rest, spring-boot, spring
Fluentlenium
FluentLenium is a website & mobile automation framework which extends Selenium to write reliable and resilient UI functional tests. This framework is React ready. Written and maintained by people who are automating browser-based tests on a daily basis.
Stars: ✭ 766 (+243.5%)
Mutual labels:  spring, selenium, junit
Gemini
Model Driven REST framework to automatically generate CRUD APIs
Stars: ✭ 138 (-38.12%)
Mutual labels:  rest, spring-boot, spring
Java Interview
At the beginning, it was the repository with questions from Java interviews. Currently, it's more like knowledge base with useful links.
Stars: ✭ 114 (-48.88%)
Mutual labels:  rest, spring-boot, spring
Spring Boot Testing Strategies
Sample project demonstrating different Test Strategies that can be followed when using Spring Boot.
Stars: ✭ 233 (+4.48%)
Mutual labels:  spring-boot, spring, junit
Erc20 Rest Service
ERC-20 token standard RESTful service using Spring Boot and web3j
Stars: ✭ 150 (-32.74%)
Mutual labels:  rest, spring-boot, spring
Quickperf
QuickPerf is a testing library for Java to quickly evaluate and improve some performance-related properties
Stars: ✭ 231 (+3.59%)
Mutual labels:  spring-boot, spring, junit
Reporting
Zebrunner Reporting Tool
Stars: ✭ 198 (-11.21%)
Mutual labels:  selenium, junit, appium
Spring Boot Oauth2 Jwt Swagger Ui
Spring Boot , OAuth 2 , JWT (Json Web Token) and Swagger UI
Stars: ✭ 77 (-65.47%)
Mutual labels:  spring-boot, junit, mockito
Testowanieoprogramowania
Testowanie oprogramowania - Książka dla początkujących testerów
Stars: ✭ 146 (-34.53%)
Mutual labels:  selenium, junit, appium
Tutorial
Spring Boot的例子,包含RESTful API, MVC, JMS, Cache, Mybatis, Cache, Websocket...
Stars: ✭ 215 (-3.59%)
Mutual labels:  rest, spring-boot, junit
Resteasy Spring Boot
RESTEasy Spring Boot Starter
Stars: ✭ 190 (-14.8%)
Mutual labels:  spring-boot, spring
Awesome Spring
A curated list of awesome books, tutorials, courses, and resources for the Spring framework ecosystem.
Stars: ✭ 186 (-16.59%)
Mutual labels:  spring-boot, spring
Event Driven Spring Boot
Example Application to demo various flavours of handling domain events in Spring Boot
Stars: ✭ 194 (-13%)
Mutual labels:  spring-boot, spring

Build Status License badge Support badge Twitter Follow

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.
  • Parallel execution.
  • Ordered 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:

  • 5.0: Examples using JUnit 5.0.3. The examples of the book Mastering Software Testing with JUnit 5 are based on this version.
  • 5.1: Examples using JUnit 5.1.1.
  • 5.2: Examples using JUnit 5.2.0.
  • 5.3: Examples using JUnit 5.3.2.
  • 5.4: Examples using JUnit 5.4.2.
  • 5.5: Examples using JUnit 5.5.2.
  • 5.6: Examples using JUnit 5.6.3.

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, Visiting Professor at Universidad Carlos III de Madrid, Spain. Copyright © 2017-2021.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].