ZOYKU火線榜

getgauge/gauge-java技術文件

Java runner for Gauge

多語言回退提示:當前倉庫原作者暫未發布在地化文件,已為您無縫切換至官方英文原版(English),排版及程式碼實例完整保真。
極速安裝
git clone https://github.com/getgauge/gauge-java.git

Gauge-Java

Actions Status Maven Central Version 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.10.1

Offline installation

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 ThoughtWorks, Inc.

文件鏡像歸檔自 GitHub 官方源路徑 · 造訪原專案 GitHub
最後同步快照:2026-11-08