-
Notifications
You must be signed in to change notification settings - Fork 345
Setup
Apoorva-GA edited this page Oct 15, 2019
·
4 revisions
Gauge can be installed by
- Downloading Executables
- Building from source
Ensure golang dev environment is setup. GOPATH environment variable should be set. Add $GOPATH/bin
to $PATH
-
Clone the gauge repository to
$GOPATH/src/github.com/getgauge/gauge
-
Gauge uses submodules. So issue the following commands before you attempt to build
git submodule init
git submodule update
Fetch all dependencies using
go get ./...
go run build/make.go
This will generate gauge in the bin directory
go test -v ./...
or
go run build/make.go --test
With Test coverage
go run build/make.go --test --coverage
go run build/make.go --install
This installs gauge into /usr/local by default. To install into a custom location use a prefix for installation
go run build/make.go --install --prefix CUSTOM_PATH
go run build\make.go --install --prefix CUSTOM_PATH
Refer here for more information on installing plugins, initialising a project, other installation methods etc.
Copyright © ThoughtWorks Inc.
HOME » TECHNICAL DOCUMENTATION
Gauge and Plugins
Ecosystem
Setup
Plugins
API
Deployment
Features
Language Runners
IDE