virtualenv .
source bin/activate
pip install -r requirements.txt
$ export ETCD_ENDPOINT=...
$ export DEALER_UUID=...
$ export DEALER_ENDPOINT=...
$ python BlackJackDealerService.py
$ export DOCKER_HOST=...
$ export ETCD_ENDPOINT=192.168.59.103:2379
$ export ETCD_NAME=etcd-0
$ export ETCD_PORT=2379
make test
make test-unit
NOTE: integration make
steps depend on docker
cli to manage containers of various service dependencies (i.e. etcd
)
make test-integration
# coverage for TDD
make clean test-unit cov
# coverage for BDD
make clean test-integration cov
# combined coverage
make test cov
# HTML based coverage
make test cov-html