All Projects → getgauge → gauge-java

getgauge / gauge-java

Licence: Apache-2.0 license
Java runner for Gauge

Programming Languages

java
68154 projects - #9 most used programming language
go
31211 projects - #10 most used programming language
shell
77523 projects

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].