From: Mike M. <mik...@gm...> - 2006-03-06 17:10:25
|
On 3/6/06, Joe Ross <joe...@gm...> wrote: > > In reference to the cheatsheet... > > There's a slightly different PDF version of this document here [1]. > I'm not sure which one came first, but the PDF version prints much > nicer than HTML as expected. The two differences between the > documents that jump out at me are the .NET 2.0 addition to "Setting > Up" and the change from ".Verify" to > ".VerifyAllExpectationsHaveBeenMet" in the "Verification" section. > > Is there any way to update the PDF and use that in addition to the HTML > version? > The PDF source is a Word document that Kerry Todyruik put together, and he did a PDF export of it. I'm not too keen on keeping two versions in sync bu= t I think we can get the HTML to print nicely -- the jMock site (on which our= s is based) has a "print" CSS style attached to it. I think the NMock site also has this but the stylesheet needs to be fixed up. I'll try and fix the stylesheet so it prints nicely from a browser, hopefully this will be good enough for most uses. Cheers, Mike. |