Skip to content

bvopro/gauge-java

 
 

Repository files navigation

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

  • Installing specific version
gauge install java --version 0.9.1

Offline installation

gauge install java --file gauge-java-0.9.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 make.go

For cross platform compilation (launcher)

go run make.go --all-platforms
Installing

After compilation

go run make.go --install	

Installing to a CUSTOM_LOCATION

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

Note: Run after compiling

go run make.go --distro	

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

go run 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

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.3%
  • Go 4.5%
  • Shell 0.2%