Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 673 Bytes

File metadata and controls

46 lines (36 loc) · 673 Bytes

Usage

pprof

set -gx GO_PPROF on pprof -seconds 10 -http=localhost:8181 http://localhost:3015/debug/pprof/profile

Running Integration Tests Locally

# tx
just tx-test
# on terminal
just test
# clean data
just cleandb
  1. Start the supporting infrastructure:
# manually
docker compose -f infra/compose/local_support/compose.yaml up --force-recreate
# just
just infra
  1. Start all the services
# manually
./scripts/integration_tests.sh
# just
just test-infra
  1. Run all the tests
# manually
mkdir -p ./.tmp
go test -coverprofile ./.tmp/coverage.out ./...
go tool cover -html ./.tmp/coverage.out
# just
just test