Project Darkstar, Unit Testing and Mock objects

2008年08月30日 02:59 • 查看 1 次 • 打印本文

However, when I started working with Project Darkstar recently, it seemed impossible to test. Mostly, because it requires you to use their interface, ManagedReference, to contain references between serialized objects (you can decide not to use them, but then performance goes down significantly). The problem is not with the interface but with the way it’s created, which is only by using the DataManager they provide, using the AppContext.getDataManager() method.

查看原文 »

评论

发表评论