#Project setup
- clone project
- open in goland
- go to goland preferences
- search 'modules'
- select 'Enable modules configuration'
- go to terminal
- cd to project directory
- run
go mod download
- run
go mod tidy
#Running tests
- config/config.yml contains blockchain config
- tests live in contracts/contract_test.go
- to run tests go to contracts/contract_suite_go and click on the green arrow left to
func TestContracts()
,there is also the possibility to run the tests from the terminal - If you want to run just one test, put a
F
in front of anIt
. SoIt
becomesFIt
.F
stands for Focus