github.com/quay/claircore@v1.5.28/docs/contributor/local-dev.md (about) 1 # Local Development 2 3 A local development environment is implemented via docker-compose. 4 5 # Usage 6 7 Several make targets are defined for working with the local development environment. 8 9 ``` 10 {{# make_target claircore-db-up }} - creates just the claircore database useful for running integration tests without test servers 11 {{# make_target claircore-db-restart }} - destroys and recreates a fresh database. localhost:5434 12 ``` 13 14 # Tests 15 16 Several make targets are defined for working with tests. 17 18 ``` 19 {{# make_target integration }} - run the integration test suite. requires the claircore-db to be up. run `make clair-db-up` before this target 20 {{# make_target unit }} - run the unit test suite. 21 {{# make_target bench }} - runs the benchmarks 22 {{# make_target integration-v }} - runs the integration test suite with verbose 23 {{# make_target unit-v }} - runs the unit test suite with verbose 24 ```