-
Recent Posts
Recent Comments
- John Teague on Polymorphism Part 2: Refactoring to Polymorphic Behavior
- Artëm Smirnov on Polymorphism Part 2: Refactoring to Polymorphic Behavior
- The Morning Brew - Chris Alcock » The Morning Brew #1344 on Pablo’s Fiesta is Back!!
- MBR on Polymorphism Part 2: Refactoring to Polymorphic Behavior
- Mario Pareja on Polymorphism: Part 1
Archives
- April 2013
- March 2013
- February 2013
- December 2012
- November 2012
- May 2012
- April 2012
- February 2012
- September 2011
- August 2011
- June 2011
- April 2011
- March 2011
- November 2010
- June 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- February 2009
- January 2009
- November 2008
- October 2008
- September 2008
- August 2008
- June 2008
- May 2008
Categories
- ActiveRecord
- adnug
- april-fools
- automated-builds, ADNUG
- c#
- Castle
- codecamp
- Command Processor Pattern
- CSS
- DDD
- design patterns
- fiesta open-spaces
- IOC
- iron ruby
- JavaScript
- jQuery
- Law of Demeter
- linq
- los-techies-fiesta
- MonoTouch
- MVC
- NHibernate
- NHibernate DDD
- nodejs
- PTOM
- Repository Pattern
- resharper
- Software Design
- SOLID
- TDD
- Testing
- Uncategorized
Meta
Category Archives: Testing
On Testing “Trivial Code”
I can’t resist jumping on the band-wagon and telling people that they’re wrong, so here goes… Mark “Ploeh” Seemann wrote a post on testing trivial code. There have been several responses saying he’s wrong and that you shouldn’t test trivial … Continue reading
Are your unit tests still hard to read ? – Should Assertion Library
I created the Should library to fill a gap in the testing ecosystem in the .Net space. Simply put, I took what I liked about using extension methods to make a more readable set of assertions, but made the library … Continue reading
Own Your Work
This post is mostly here to share a link. Jeremy Miller posted ‘“Code Complete” is a polite fiction, “Done, done, done” is the hard truth‘. Before clicking through I thought I was going to disagree. After reading through, I agree … Continue reading
Testing with queries and repositories (a simple example)
Not being much of a fan of the Repository pattern, or better yet, not a fan of applying it as a universal data access strategy, one question that comes up often is “but what about testing”? But the question should … Continue reading
JavaScript Unit Tests: Jasmine vs Mocha
Someone recently asked me whether I prefer Jasmine or Mocha for unit testing JavaScript. My answer is: Jasmine and Mocha are both great. I use both, depending on the project and team. There’s a great community around both, and you’ll … Continue reading
Isolating database data in integration tests
Databases in tests is an annoying, yet necessary component if you truly want to create accurate integration tests. I’m not too much of a fan of employing alternate databases in tests (SQLite in place of SQL Server), simply because I … Continue reading
Asynchronous Unit Tests With Mocha, Promises, And WinJS
Before I get in to the guts of this post, you need to read Christopher Bennage’s post on how we have our Mocha test suite set up for our Win8 / WinJS project. It’s not the best setup, but it … Continue reading
Jasmine-BDD: A Screencast On The Standalone Test Runner
My 2nd screencast at WatchMeCode.net is now online, and is free! WatchMeCode Episode 2: The Jasmine Standalone Runner In this episode, I cover the basics of JavaScript testing with the Jasmine-BDD test framework, showing how to install and use the … Continue reading
Custom Jasmine Matchers For Clarity In Testing Backbone.js Models
I’ve been writing some Jasmine specs for a sample Backbone.js application that I’m building. The application is a simple image gallery, and one of the features is the ability to navigate to through the image list with ‘next’ and ‘previous’ … Continue reading
Tracking down a strange issue with WatiN and IIS Express
In my current project, we have a system that runs our Watin tests using NUnit. We also want to run the tests in our CI build, so we start IIS Express in a [SetUpFixture]. Today I was doing my check … Continue reading
Also posted in Uncategorized
1 Comment
