Phil Hack
  • Home
Chrome Extensions

Chrome Extensions

  • Phil Hack

    Read more posts by this author.

Phil Hack

22 Jun 2014 • 1 min read
  • Referer Control
  • Rest Console
  • Type Foo
  • AngularJS Batarang
  • Liverload

Nunit Notes

TestCaseAttribute (NUnit 2.5) TestCaseAttribute serves the dual purpose of marking a method with parameters as a test method and providing inline data to be used when invoking that method. Here is an example of a test being run three times, with three different

  • Phil Hack
Phil Hack 22 Jun 2014 • 1 min read

Fluent Assertion Notes

Sample code actual.Name.Should().Be("France"); actual.CallingCode.Should().Be("33"); actual.CountryUid.Should().Be(5); Compare all of the properties within an object actual.ShouldBeEquivalentTo(expected); // compares just the properties specify exclusions actual.ShouldBeEquivalentTo(expected, options => options.

  • Phil Hack
Phil Hack 22 Jun 2014 • 1 min read
Phil Hack © 2021
Latest Posts Ghost