Git Product home page Git Product logo

spring-aot-smoke-tests's Introduction

Spring AOT Smoke Tests

A suite of tests for applications using AOT on the JVM and in Graal native images.

How to

Run a single test on JVM

./gradlew :<name of the project>:jvmAotTest

for example

./gradlew :actuator-webmvc:jvmAotTest

Run a single test

./gradlew :<name of the project>:build

for example

./gradlew :actuator-webmvc:build

Add a new sample

  1. Create a new directory for your sample

  2. Include the directory in settings.gradle

  3. Include the directory in ci/smoke-tests.yaml

spring-aot-smoke-tests's People

Contributors

mhalbritter avatar wilkinsona avatar garyrussell avatar scottfrederick avatar

Stargazers

Tuan Nguyen avatar Hantsy Bai avatar Bertolt  avatar Murat Dindar avatar Armen avatar Moritz Halbritter avatar W avatar Stéphane Nicoll avatar

Watchers

Oliver Drotbohm avatar Rob Winch avatar Gary Russell avatar Stéphane Nicoll avatar Andy Wilkinson avatar John "Warthog9" Hawley avatar Long avatar

spring-aot-smoke-tests's Issues

Quieten output from native-image-plugin

Even when running a single smoke test, native-image-plugin outputs five lines per smoke test:

> Configure project :actuator-webflux
[native-image-plugin] Instrumenting task with the native-image-agent: bootRun
[native-image-plugin] Instrumenting task with the native-image-agent: generateAotSources
[native-image-plugin] Instrumenting task with the native-image-agent: jvmAotTest
[native-image-plugin] Instrumenting task with the native-image-agent: nativeAotTest
[native-image-plugin] Instrumenting task with the native-image-agent: test

> Configure project :actuator-webmvc
[native-image-plugin] Instrumenting task with the native-image-agent: bootRun
[native-image-plugin] Instrumenting task with the native-image-agent: generateAotSources
[native-image-plugin] Instrumenting task with the native-image-agent: jvmAotTest
[native-image-plugin] Instrumenting task with the native-image-agent: nativeAotTest
[native-image-plugin] Instrumenting task with the native-image-agent: test

> Configure project :aspect
[native-image-plugin] Instrumenting task with the native-image-agent: bootRun
[native-image-plugin] Instrumenting task with the native-image-agent: generateAotSources
[native-image-plugin] Instrumenting task with the native-image-agent: jvmAotTest
…

It would be nice to silence this output if we can.

Run a smoke test against a local build

Running a smoke test against local change is quite helpful to validate that a feature hasn't broken something (or a broken test now passes).

If the local change is built against Gradle, we could point to the directory of the project. For Maven, an option to add mavenLocal() would be nice.

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.