try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Git Tips & Tricks, Part 9–Find That Bug with Bisect!

Have you ever found a bug in your application, but been unable to find exactly *where* that bug was in your code?  Without this important bit of knowledge, it’s difficult to properly shame the developer that introduced the bug fix the bug.  It can be a bit like finding a needle in a haystack.   In this post, I’ll show you how to significantly shrink the size of the haystack and find bugs more quickly by using ‘git bisect.’ More...

SpecsFor.Mvc 3.0.0 Final Released

I just published the final version of SpecsFor.Mvc 3.0.0.  As I mentioned previously, this update adds support for MVC 5.0, drops the dependency on MVCContrib and Rhino Mocks, and includes a handful of other fixes.  Next on the SpecsFor.Mvc agenda is improving the initial setup experience and eliminating pain around lingering IIS Express and Selenium processes.  In the meantime, please let me know if you run into any problems with SpecsFor.Mvc via the Github project page.

SpecsFor 3.1.0 Released

I shipped a small update to SpecsFor yesterday.  This update exposes the underlying mocking container to behaviors that are registered using the compositional context API. More...

SpecsFor.Mvc 3.0.0 Preview 5–Now Compatible with ASP.NET MVC 5!

There’s a new preview release of SpecsFor.Mvc available on NuGet now.  There are a lot of changes in this release, and there are some unavoidable, manual steps you will need to take.  If no one encounters any major pain points due to this upgrade, I’ll publish the final package next week. More...

Git Tips & Tricks, Part 8–See What’s Changed (again!)

I showed you one way that you can quickly see what’s changed back in Part 6 by comparing two commits.  You can also see what changed in a specific commit and fire up your git diff tool for each change.  I’ll show you how in this  post. More...

Git Tips & Tricks, Part 7–Move Commits Between Branches with ‘cherry-pick’

One of my favorite git features is the ability to grab a commit and re-apply it on a different branch.  In this post, I’ll show you how to do this with the ‘cherry-pick’ command. More...

Git Tips & Tricks, Part 6–Quickly See What’s Changed

Today’s entry includes two tips for the price of one!  I’ll show you how to use git with Powershell to see all the files that changed between two commits.  I’ll also show you a quick and easy way to determine when a particular file was removed from source control. More...

Git Tips & Tricks, Part 5–Checking Your Commit for TODOs

Today’s simple tip will show you how to check for lingering “TODO” comments before you push your code up to your shared repository. More...

Git Tips & Tricks, Part 4–Breaking a Commit Up

Today’s tip is pretty simple.  I’m going to show you how you can break up a commit into multiple, smaller commits after you’ve already committed everything to your local repo. More...

SpecsFor.Mvc 3.0 Preview 2 Package Released!

The new ‘preview 2’ release of SpecsFor.Mvc is now available on NuGet.   This update is built against the latest Selenium WebDriver package and ASP.NET MVC 4.  It no longer depends on MvcContrib.TestHelper, either, as all the relevant functionality has now been absorbed into SpecsFor.Mvc.  In addition, this preview release fixes several bugs and adds support for cleaning up the published site when using the embedded IIS Express host. Going forward, the SpecsFor.Mvc package will require a specific version of Selenium WebDriver.  I generally don’t like it when packages ... [More]