Skip to content
A standalone binary to run Go tests using the Jest platform and jest-runner-go
JavaScript Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
.gitignore
Dockerfile
LICENSE
README.md
index.js
jest.config.js
package.json
yarn.lock

README.md

Gojest

A standalone binary to run Go tests using the Jest platform

https://asciinema.org/a/OQ8MQDGYNiQ2aqUECvGk061ZD

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 git@github.com: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
You can’t perform that action at this time.