A standalone binary to run Go tests using the Jest platform
https://asciinema.org/a/OQ8MQDGYNiQ2aqUECvGk061ZDIf 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)
git pull git@github.com:MaximeHeckel/gojest.git
(preferably in your GOPATH if you want to run the examples on your machine)- Run
npm install
oryarn
to install the dependencies of the project - To run use:
node index.js
- To Build the project run:
yarn build