首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 依赖和数据驱动的java单元测试框架

依赖和数据驱动的java单元测试框架

资 源 简 介

DepUnit is designed with the belief that in any complicated system the unit tests build upon one another. In many unit test frame works there is a considerable amount of effort put into allowing the tester to setup and tear down the environment so that the tests can be performed. We believe that this setup and tear down procedure should be a unit test as well. For example a connection needs to be made to the database before unit tests can be performed on the data. The connection process should be a unit test and the other tests depend on it to succeed. With this in mind DepUnit lets you create what we call hard and soft dependencies between tests. DepUnit also allows for clean up tests that perform the tear down of other frameworks. DepUnit is also designed with the idea that data is at the heart of all unit tests. Unit tests usually test a system with some given set of data. DepUnit provides easy mechanisms for passing data into
VIP VIP
0.245059s