TDD, Architecture and Testing Code in Isolation :: Part 3(adronbhall.com)

submitted by adronadron(831) 3 years, 7 months ago

Ok, ok, ok, the other two parts where lean on the unit tests. Now we get down to the mocking, faking, and testing. The first two tests I wrote have to do with the UserListing Entity. Once again, since we're in a situation were thing are generated by LINQ, I'm not really sure of a solid reason, or how, to write tests that fail first. How would one do that for testing entities? I'm not sure but here are my first two that run returning green lights.

add a comment |category: |Views: 8

tags: another

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