2006年9月27日星期三
A TestBase was Completed for Our Project
At this afternoon, I completed the development of a TestBase for our project, which will be use to help us test a kind of module. This Class was based on JUnit and DBUnit. With this Class, our test is Simplified , to test a function with only about 10 lines codes, many things are done by SpriteTestBase, like insert data from Excel to database, select/delete/update record in database by refering data in file, export data from database to file, import file into database, read/write fileauto compare data in an object with data in Excel file, also it can discover some code errors in source. This class has 1618 lines. It cost my 7 days. :) I will perfect it and generalize it to general project, when the class is generalized, I will put it on web. Maybe, it is useful to your test.:)
订阅:
博文评论 (Atom)

没有评论:
发表评论