getgauge / gauge-java

Java runner for Gauge
https://gauge.org
Apache License 2.0
91 stars 47 forks source link

Gauge-Java

Actions Status Maven Central Contributor Covenant

This project adds java language plugin for gauge.

Getting started

Pre-requisite

Installation

gauge install java

Create a gauge-java project

gauge init java

Run tests

gauge run specs

Alternate Installation options

Install specific version

Offline installation

Build from source

The plugin is authored in Java. Gauge is authored in golang. These are independent processes talking to each other over TCP on port GAUGE_INTERNAL_PORT (env variable) using Protobuf.

Additional Requirements

Apart from Gauge and Java you will need

go run build/make.go

For cross platform compilation (launcher)

go run build/make.go --all-platforms
Installing

After compilation

go run build/make.go --install  

Installing to a CUSTOM_LOCATION

go run build/make.go --install --plugin-prefix CUSTOM_LOCATION
Creating distributable

Note: Run after compiling

go run build/make.go --distro   

For distributable across platforms os, windows and linux for bith x86 and x86_64

go run build/make.go --distro --all-platforms   

Deployment

The deployments are managed via Github Actions. Whenever a PR is merged and contains label ReleaseCandidate, A deployment will occur with the current version and then the version will be bumped up.

License

This program is licensed under:

Apache License, Version 2.0

Copyright

Copyright ThoughtWorks, Inc.

Acknowledgements

This project is supported by YourKit Java Profiler. YourKit supports open source projects with its full-featured Java Profiler, which is used by Gauge Team.

Yourkit