diff --git a/Makefile b/Makefile index 3b78d91..784d4c8 100644 --- a/Makefile +++ b/Makefile @@ -4,3 +4,6 @@ SHELL = /bin/bash test: ./tests/test_auction_flow.sh + +utest: + go test ./... diff --git a/README.md b/README.md index 481e94d..3a2d783 100644 --- a/README.md +++ b/README.md @@ -26,24 +26,40 @@ This repository contains the base chain implementation that Colinear's compute m To build the chain: -```ignite chain build``` +``` +ignite chain build +``` To serve the chain: -```ignite chain serve``` +``` +ignite chain serve +``` ### Unit Tests -Unit tests use Go's built-in testing system. To test any specific feature or subpackage: +Unit tests use Go's built-in testing system. To run all unit tests: -```go test ./path/to/package``` +``` +make utest +``` + +To test any specific subpackage: + +``` +go test ./path/to/package +``` ### Integration Tests Integration tests use a custom bash testing framework that interacts with a running instance of the chain. To run all integration tests: -```make test``` +``` +make test +``` Integration tests can also be run individually: -```./tests/.sh``` +``` +./tests/.sh +```