Development

From FetchWiki

Jump to: navigation, search

[edit] Testing

  • The tests reside in snavtofamix/test
  • Unit tests: snavtofamix/test/ut/UTSuite.py is a unit test suite with several 100's of tests written using pyunit
  • Pieces tests: batch of small I/O tests focussing upon individual features. For C/C++, regrCppPiecesIOTest.sh contains the regression batch while tddCppPiecesIOTest.sh (the test-driven batch) contains the tests that we still have to make pass. For Java, javaPiecesIOTest.sh contains both the regression batch as well as the test-driven batch.
  • System/Benchmark tests: runs snavtofamix on two small-sized real systems (13 KLOC C++ spreadsheet system Teamspirit, 12 KLOC Java instant messaging tool) to observe regressions as well as advancements in-the-large. Result is compared with baseline from previous version. TeamspiritIOTest.sh for C++, AnastaciaIOTest.sh for Java.
Personal tools