Giter VIP home page Giter VIP logo

hello-rest-sb's Introduction

hello rest spring boot

TEST

$ ./gradlew clean

BUILD SUCCESSFUL in 622ms
1 actionable task: 1 executed
$ ls -l build/
ls: cannot access 'build/': No such file or directory$ ./gradlew test

> Task :test
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended

GreetingControllerTests > noParamGreetingShouldReturnDefaultMessage() FAILED
    java.lang.AssertionError at GreetingControllerTests.java:40

GreetingControllerTests > paramGreetingShouldReturnTailoredMessage() FAILED
    java.lang.AssertionError at GreetingControllerTests.java:48

2 tests completed, 2 failed

> Task :test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/nori/code/hello-rest-sb/build/reports/tests/test/index.html

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
3 actionable tasks: 3 executed
$ ./gradlew jar

BUILD SUCCESSFUL in 817ms
2 actionable tasks: 1 executed, 1 up-to-date
$ ./gradlew bootJar

BUILD SUCCESSFUL in 929ms
3 actionable tasks: 2 executed, 1 up-to-date
$ ls -lh build/libs
total 19M
-rw-r--r-- 1 nori nori 2.8K Feb 27 15:41 rest-service-0.0.1-SNAPSHOT-plain.jar
-rw-r--r-- 1 nori nori  19M Feb 27 15:41 rest-service-0.0.1-SNAPSHOT.jar
$ ./gradlew clean build

> Task :test
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended

GreetingControllerTests > noParamGreetingShouldReturnDefaultMessage() FAILED
    java.lang.AssertionError at GreetingControllerTests.java:40

GreetingControllerTests > paramGreetingShouldReturnTailoredMessage() FAILED
    java.lang.AssertionError at GreetingControllerTests.java:48

2 tests completed, 2 failed

> Task :test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/nori/code/hello-rest-sb/build/reports/tests/test/index.html

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
7 actionable tasks: 7 executed

BUILD

RUN

hello-rest-sb's People

Contributors

pysatellite avatar

Watchers

 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.