I, in contrast, am quite fond of this technique if there is a clear correlation between the test and the resource and if the resource is scoped to testing.
On Thu, Aug 30, 2012 at 5:44 AM, Gilles Sadowski < gil...@harfang.homelinux.org> wrote: > > This > > clutters the code, and I will move these reference values to resource > > files. > > I'm not fond of this idea. > I prefer unit test classes to be self-contained as much as possible. >