gauge-java
gauge-java copied to clipboard
Java runner for Gauge
Gauge-Java
This project adds java language plugin for gauge.
Getting started
Pre-requisite
- Install Gauge
- Java (Minimum required version is 11)
Installation
gauge install java
Create a gauge-java project
gauge init java
Run tests
gauge run specs
Alternate Installation options
Install specific version
- Installing specific version
gauge install java --version 0.10.1
Offline installation
- Download the plugin from Releases
gauge install java --file gauge-java-0.10.1-windows.x86_64.zip
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
Compiling
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.