Coder Social home page Coder Social logo

shilpapatkar27 / junit-5-tutorials-master Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vladimir101/junit-5-tutorials-master

0.0 0.0 0.0 227 KB

All the examples repository for Junit 5 Tutorials from javabydeveloper.com

Java 99.87% JavaScript 0.13%

junit-5-tutorials-master's Introduction

N|Solid JUnit 5 Tutorial, a collection of sample applications to write and execute Junit 5 tests and extensions using JUnit Jupiter, JUnit Vintage, and the JUnit Platform on various build systems from javabydeveloper.com

N|Solid

Examples

The [junit5-maven-example] sample demonstrates the bare minimum configuration for getting started with JUnit Jupiter using the Maven build system.

The [junit5-gradle-example] sample Demonstrates the display custom names for the tests, built-in creating custom Display name generator.

The [junit5-displayNames-example] sample demonstrates the display custom names for the tests, built-in creating custom Display name generator.

The [junit5-instance-lifecycle-example] sample demonstrates the instance lifecycle of junit 5 test cases and the modes of test instance lifecycle.

The [junit5-assumptions-example] sample demonstrates the Junit 5 assumptions class assumeTrue()/assumeFalse() and assumeThat() methods.

The [junit5-disable-tests-example] sample demonstrates the how to disable tests using @Disabled annotation.

The [junit5-conditional-tests-example] sample demonstrates various conditional tests supported by Junit 5 and creating custom condition.

The [junit5-repeated-tests-example] sample demonstrates repeating tests execution by the specified number of times and creating a composed annotation to dispaly names with repetition info.

The [junit5-timeout-example] sample demonstrates Junit 5 timeout tests using @Timeout, assertTimeout(), assertTimeoutPreemptively() and configuring global timeouts

The [junit5-test-order-example] sample demonstrates Junit 5 tests execution order, @MethodOrder, @Order annotations AlphanUmeric order and creating custom order.

The [junit5-parameterized-tests-example] sample demonstrates the various argument sources to run parameterized tests, ArgumentsAccessor, Argument Aggregation examples.

The [junit5-consolelauncher-example] sample demonstrates the ConsoleLauncher to run Junit jupitor tests with several options.

The [junit5-allure-report-example] sample demonstrates Junit 5, allure, maven configuration and generating allure reports.

The [junit5-dynamic-tests-example] sample demonstrates the creating dynamic tests in Junit 5 and ordering and parallel execution of dynamic tests.

The [junit5-nested-tests-example] sample demonstrates the creating nested tests, nested tests execution order and timeouts in nested tests.

The [junit5-dependency-test-example] sample demonstrates the dependency injection for the test methods and constructors, built-in parameter resolvers and custom parameter resolvers to inject parameters.

The [junit5-tag-filter-example] sample demonstrates the tagging tests classes and methods filter or discovering tagged test to execute them.

The [junit5-tag-filter-example] sample demonstrates executing tag-specific test cases from gradle command line.

The [junit5-parallel-tests-example] sample demonstrates the configurations to run test classes and test methods parallel and @ResourceLock annotation to get synchronization access for the shared resources.

The [spring-boot-junit5-example] sample demonstrates the bare minimum configuration for configuration for getting started with JUnit Jupiter using the Maven build system and spring boot, simple tests for Rest controller.

Licence

Shield: CC BY-SA 4.0

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

CC BY-SA 4.0

junit-5-tutorials-master's People

Contributors

javabydeveloper 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.