|
From: Nat P. <nat...@gm...> - 2006-03-02 11:21:53
|
Hi. Sorry I jumped the gun a bit here. The tutorials on the site are fine= . One suggestion: the tutorial should describe the idiom of creating factory methods for creating actions and matchers. Yes, you can do ...Will(new BlahBlahBlahAction()) but doing that makes tests hard to read. The whole point of jMock and NMock2 is to provide a embedded domain-specific language that can be seamlessly extended by users, and this should be demonstrated at every opportunity in the tutorials and documentation. The end result -- clear tests/specifications -- is really worth it. --Nat On 3/2/06, Nat Pryce <nat...@gm...> wrote: > Mike, there are problems with that tutorial as I pointed out in the > comments. If you want tutorials for the nmock site, why not use the > custom constraints, matchers and actions tutorials from the jMock site > and convert the code to NMock2. I wrote those to address common > questions on the jMock mailing lists, and they've been improved > through feedback from users. Having common tutorials will also help > people transition from one framework to the other. > > I can put them under some Creative Commons license if you want. > > --Nat. > > > On 3/2/06, M. Scott Ford <va...@sc...> wrote: > > I am already there as M. Scott Ford. The posted address is my home > > address, and that is the one that I want to use. Just Scott Ford was my > > work address. I was unable to keep up with the list while at work using > > my personal account, so I subscribed from my work address. I hope that > > this did not confuse anyone. So, yeah, in short, I (M. Scott Ford) am > > me(Scott Ford). :) > > > > Mike Mason wrote: > > > > > That's great stuff Scott. I shall blatently steal that content for th= e > > > new NMock website. I'd like to add you to the "Team" page -- would yo= u > > > like to be "Scott Ford" or some other name, and would you like your > > > email address included (and if so, which one?). > > > > > > Cheers, > > > Mike. > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > > that extends applications into web and mobile media. Attend the live we= bcast > > and join the prime developer group breaking into this new coding territ= ory! > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > > _______________________________________________ > > NMock-two-dev mailing list > > NMo...@li... > > https://lists.sourceforge.net/lists/listinfo/nmock-two-dev > > > |