阅读背景:

为django模型编写测试用例。

来源:互联网 

Half way through my current project, after suffering the pain of spending uncountable minutes on debugging, I have decided to adopt TDD. To start, I am planning to write a set of unit tests for each existing models. But for models that only have attributes defined (ie. no additional methods/properties) I am not sure what I need to test nor how. Half way through my current project, after suff




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: