I’ve recently switched from using JUnit 3.x to JUnit 4 for most new unit tests I write. One area that causes trouble is the use of JUnit 3.x based test base classes. Spring has a tree of helper classes based on junit.framework.TestCase that make writing tests that use an ApplicationContext, de ...
Introduction Most enterprise applications rely on the database as the persistence mechanism. Integration tests for these applications require data in the database to run correctly. For integration tests to be repeatable, the tests should carry the test data they need with them and insert it before ...
jlj008
搜索本博客
最近加入圈子
存档
最新评论
  • 实体与值对象
    谢谢你的回复,对于你的这个例子里的学生来说,我们来做这样的假设:有两个stude ...
    -- by jlj008
  • 实体与值对象
    觉得你举的例子非常好。 现在我有几个问题: 1.值对象是不可变的。 在DDD书中 ...
    -- by didiluck