DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

14
kicks
published 4 months, 6 days ago, submitted by brandewinder brandewinder 4 months, 7 days ago

lostechies.com — With Rhino Mocks 3.5 just around the corner, I've started using it to create much more readable tests. One of the things that always bothered me with Expect.Call, constraints and the like was that it mixed in the Arrange with Assert. For those that haven't heard of AAA, it's a pattern for authoring unit tests: * Arrange - set up the unit under test * Act - exercise the unit under test, capturing any resulting state * Assert - verify the behavior through assertions As I moved towards BDD context/specification style tests, working with Rhino Mocks didn't fit the picture very well. But with the new AAA syntax of Rhino Mocks 3.5, I can very cleanly separate out the behavior I want to observe from the mechanics of setting up the test.

tags: | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:

No comments so far




information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge