Prerequisites
The latest vagrant built for the Udacity tournament project.
Instructions
- Start Vagrant
- Open Terminal or cmd and browse to the vagrant folder
- Vagrant up
- Vagrant ssh
- Change to /vagrant/tournament folder
- Open PSQL and run the tournament.sql
- Connect to the database
- Run the tests like below: vagrant@vagrant-ubuntu-trusty-32:/vagrant/tournament$ python tournament_test.py
Expected Outcome
- countPlayers() returns 0 after initial deletePlayers() execution.
- countPlayers() returns 1 after one player is registered.
- countPlayers() returns 2 after two players are registered.
- countPlayers() returns zero after registered players are deleted.
- Player records successfully deleted.
- Newly registered players appear in the standings with no matches.
- After a match, players have updated standings.
- After match deletion, player standings are properly reset.
- Matches are properly deleted.
- After one match, players with one win are prop
Success! All tests pass!