WebDevVote - Fluent Route Testing in ASP.NET MVC
1votes
voted
harysmith harysmith 1 year, 2 months ago
flux88.com — This mess of nastiness is what is required to test your routes in ASP.NET MVC. There are a number of things wrong with this. First and foremost, we're doing magical-mocking here. That is - we somehow know exactly the two properties we need to mock for this to work. It turns out this isn't such a magical process as it is looking at reflector and a lot of trial and error. The next thing wrong that I see is that our route values (and keys) are case-insensitive, so we'd need to include some more flexibility in our Asserts here. original link
Tags: | add tag

new Add a live vote 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:

  • "Vote it" text
  • "Vote it" Background
  • Vote count text
  • Vote count background
  • Border

Simply copy and paste this HTML into your blog post.

Users who voted this story

Comments

No comments so far!



information Thank you for your visit. Please create an account to share and vote!

Login or Sign up to add your comment.
  • Web Dev Vote's Facebook Profile
  • Follow us on Twitter
  • RSS



Technorati Profile