Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

dlleigh/blackjack-dealer-service

Repository files navigation

Get Started

Install dependencies

virtualenv .
source bin/activate
pip install -r requirements.txt

Environment Dependencies

$ export ETCD_ENDPOINT=...
$ export DEALER_UUID=...
$ export DEALER_ENDPOINT=...

Run it

$ python BlackJackDealerService.py

Tests

Environment Dependencies (in additon to runtime deps above)

$ export DOCKER_HOST=...
$ export ETCD_ENDPOINT=192.168.59.103:2379
$ export ETCD_NAME=etcd-0
$ export ETCD_PORT=2379

All

make test

Unit

make test-unit

Integration

NOTE: integration make steps depend on docker cli to manage containers of various service dependencies (i.e. etcd)

make test-integration

Coverage

# 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published