VincentSteil / World_Crisis_DB

Creating a database for world crises similar to what IMDB is for movies that can be navigated in a similar manner. Parsed and accessed through python and initially stored in XML and validated against an XSD. The XML is converted in MySQL later on.
1 stars 0 forks source link

Unit Tests #3

Closed mduban closed 11 years ago

mduban commented 11 years ago

The grader's GitHub account will have a public Git repository for unit tests and acceptance tests. It is critical that you clone the grader's public repo into a different directory than the one you're using for your private repo. Write unit tests before you write the code. When you encounter a bug, write a unit test that fails, fix the bug, and confirm that the unit test passes. Write at least 3 unit tests for each function. Tests corner cases and failure cases. Name tests logically. Push and pull the unit tests to and from the grader's repository. Prepend - to the file names at GitHub (i.e. foo-TestWCDB1.py and foo-TestWCDB1.py.out). Reach consensus on the unit tests.

mduban commented 11 years ago

Unit tests are done.

wgenerous commented 11 years ago

can we push these to the public repo?

mduban commented 11 years ago

yes

mduban commented 11 years ago

done