Agile Development
hitman.banker
Thinking in Architecture and Art
展开
-
Any Substitute Of Cactus? How To Use Cactus?
Cactus has retired for some reason, however, I haven't found any competing substitute that could finish the same mission better. Inforseeable future, I would choose Cactus anyway for server-side in-co原创 2012-03-11 20:07:51 · 679 阅读 · 0 评论 -
Debugging Tips
My Development Environment: Eclipse Juno, Spring 3.2.6 Release, Hibernate 4.2.0 Final, Maven 3.0.4 1. You can set breakpoint in dependencies' source like Spring Framework and Hibernate. With Eclipse原创 2014-01-16 20:05:04 · 688 阅读 · 0 评论 -
LESSON: Autowire Interface, Rather than Concrete Class
In one of my tests, my first version test code is like below: @RunWith(SpringTestRunner.class) @DataLoader(filePaths = { "fixture/versionedBasRequests.xls" }, loaderType = LoaderType.EXCEL) @ContextC原创 2014-08-21 15:52:53 · 1040 阅读 · 0 评论 -
Unable to find any test data conversion strategy for parameter with name ArrayList<XXX>
1. Problem java.lang.AssertionError: Unable to find any test data conversion strategy for parameter with name ArrayListand type class java.util.ArrayList at org.junit.Assert.fail(Assert.java:93) at原创 2014-08-21 16:13:06 · 1083 阅读 · 0 评论 -
Disable MySQL Foreign Key During JUnit Test
Reference: [1] http://stackoverflow.com/questions/9957878/mysql-disable-referential-integrity [2]原创 2014-08-21 18:46:22 · 1674 阅读 · 0 评论