Skip to content

BillionthMonkey/NoughtsAndCrosses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoughtsAndCrosses

A test-driven development kata inspired by "Test-driven development as if you mean it" carried out with Mark Withall.

Before we started; we roughly noted down our goals:

  • Moves are provided to [it]
    • checks the move's legal
  • [it] then says if:
    • player that played last move won
    • "board" full (implies draw)

Development Environment Set-up

Get pip and virtualenv

  • easy_install pip
  • pip install virtualenv

Go to the NoughtsAndCrosses directory and create and activate the virtual environment

  • virtualenv venv
  • . venv/bin/activate

Install/update packages

  • pip install -r requirements.txt
  • or pip install --upgrade -r requirements.txt

Running the Tests

The tests can be run continuously with py.test --looponfail nac.py or py.test -f nac.py

About

Test-driven development kata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages