Skip to content

How to run tests via java -jar command in command line #7

Open
@ThomasSun001

Description

@ThomasSun001

Hi team,

There is a situation here, I don't want to execute mvn test , instead I want to package the project to an executable jar file and then I ran run on other platform, that platform only installs java, no other software, so how can I modify the code to just run java -jar jarfile.jar to execute my test, thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions