gojest

A standalone binary to run Go tests using the Jest platform and jest-runner-go

MIT License

Stars
9

Usage

Install

If you want to get the latest version of Gojest you can either download the binaries from the project page or install them using Docker by running the following:

For macOS:

docker pull maximeheckel/gojest:latest &&
id=$(docker create maximeheckel/gojest:latest) &&
docker cp $id:/gojest-macos /usr/local/bin/gojest && (docker rm $id >/dev/null)

For Linux:

docker pull maximeheckel/gojest:latest &&
id=$(docker create maximeheckel/gojest:latest) &&
docker cp $id:/gojest-linux /usr/local/bin/gojest && (docker rm $id >/dev/null)

For Windows:

docker pull maximeheckel/gojest:latest &&
id=$(docker create maximeheckel/gojest:latest) &&
docker cp $id:/gojest-win.exe gojest.exe && (docker rm $id >/dev/null)

Contribute

  1. git pull [email protected]:MaximeHeckel/gojest.git (preferably in your GOPATH if you want to run the examples on your machine)
  2. Run npm install or yarn to install the dependencies of the project
  3. To run use: node index.js
  4. To Build the project run: yarn build