Git Product home page Git Product logo

Comments (8)

sormuras avatar sormuras commented on September 26, 2024

Updated list of projects.

from junit5-samples.

daggerok avatar daggerok commented on September 26, 2024

we need maven jupiter java + kotlin example

from junit5-samples.

marcphilipp avatar marcphilipp commented on September 26, 2024

@daggerok What about the junit5-jupiter-starter-gradle-kotlin one?

from junit5-samples.

daggerok avatar daggerok commented on September 26, 2024

@marcphilipp
There are no problems with Gradle at all. Actually I know how to configure Gradle and it's actually only build system I can successfully execute mixed java / kotlin junit 4 / 5 tests at the moment, but not with maven.
This is why we need worked maven example with configuration how properly configure maven project for these possibilities

from junit5-samples.

daggerok avatar daggerok commented on September 26, 2024

finally I have created worked maven pom.xml configuration to run mixed java / kotlin JUnit 4 vintage and JUnit 5 jupiter: junit-team/junit5#1899 (comment)

from junit5-samples.

sormuras avatar sormuras commented on September 26, 2024

What about adding GraalVM-related samples?

  • junit5-jupiter-starter-graalvm
  • junit5-jupiter-starter-graalvm-native-image

from junit5-samples.

sbrannen avatar sbrannen commented on September 26, 2024

junit5-jupiter-starter-graalvm

For that, I'm not sure there would be much to demonstrate.

For standard GraalVM usage in a Java application (such as executing JUnit Jupiter based tests), you'd basically just switch to a GraalVM JDK, analogous to switching between an Oracle JDK and an OpenJDK JDK.

junit5-jupiter-starter-graalvm-native-image

This is perhaps not as straight-forward as you might imagine. Currently there is no built-in support for achieving this.

I have, however, created a proof of concept for executing JUnit Platform based tests within a native image. That work can be seen here: spring-projects/spring-framework@master...sbrannen:graalvm-testing

The core of the work consists of a custom JUnit Platform TestExecutionListener, custom annotations (for conditional executing and tagging), and custom Gradle tasks that can be found here, here, and here, respectively.

from junit5-samples.

sbrannen avatar sbrannen commented on September 26, 2024

conditional executing --> conditional execution

GitHub won't let me edit comments at the moment.

from junit5-samples.

Related Issues (20)

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.