ipeirotis / WikiSynonyms

Extracts synonyms for various terms, exploiting the redirects between terms in Wikipedia
http://wikisynonyms.ipeirotis.com/
12 stars 3 forks source link

Create unit tests for fixed bugs, to avoid regressions #10

Closed ipeirotis closed 11 years ago

ipeirotis commented 12 years ago

Go through the closed issues and create the appropriate unit tests for all the closed bugs

Also, create a set of test cases, for which we know the results (e.g., whether a particular task is an oDesk skill, etc)

Create unit tests to ensure that everything works properly (e.g., “AJAX”, “C#”, and all other cases that caused trouble)

georgegg commented 11 years ago

Done! I Used PHPUnit to create out unit tests. Created 11 tests for known cases and major class methods. Added fixtures for test cases.

PHPUnit 3.6.12 by Sebastian Bergmann.
...........
Time: 23 seconds, Memory: 7.00Mb
OK (11 tests, 15 assertions)