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

Acceptance Tests #24

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 acceptance tests before your write the code. When you encounter a bug, write an acceptance test that fails, fix the bug, and confirm that the acceptance test passes. Write an auxiliary program to randomly generate acceptance tests. Create at least 10 acceptance tests with at least 1000 lines total. Tests corner cases and failure cases. Push and pull the acceptance tests to and from the grader's repository. Prepend - to the file names at GitHub (i.e. foo-RunWCDB2.in.xml and foo-RunWCDB2.out.xml). Reach consensus on the acceptance tests.

caisbalderas commented 11 years ago

Just to double check: he is asking for randomly generated XML , just like in project 3. If this is the case I can reuse the XML generator I wrote last time

mduban commented 11 years ago

No. The acceptance tests have to fit the XML schema that we created. Otherwise the import/export facility will not work since the inputs will not adhere to MySQL schema. On the bright side we need only 100 lines of the tests. But still at least 10 of them.

caisbalderas commented 11 years ago

theyre uploaded and ready to test

mduban commented 11 years ago

Done and uploaded the outputs(RunWCDB2.out.xml) of acceptance tests to github too.