What are the traits of a good test?

I have started Roy Osherove's "The Art of Unit Testing." His take on what makes a good test ...

A unit test should have the following properties:

  • It should be automated and repeatable.
  • It should be easy to implement.
  • Once it’s written, it should remain for future use.
  • Anyone should be able to run it.
  • It should run at the push of a button.
  • It should run quickly.

Practice, Mummy Magoo Rocks!, Dan

Site Model Design.

I am currently giving the Site Model, it's first pass. Trying to keep things very simple at the outset, I have decided to proceed with the following test goals for the evening.

  • From a collection of settings, the site controller will render said site.
  • Settings will determine CSS and layout choice.
  • Settings will determine what content to display using ObjectStore<IArticle>. I am hoping to use this technique for menus as well as "articles."

New Tag

MagooCMS Iteration Planning

This iteration (the next two weeks), I shall implement a multiple sites model. I will be able to administer multiple sites within a domain from within the software. Another feature will be a configurable menu and CSS support.

The routing element is one I have highlighted as one I'd like to sink my test-driven teeth into. After a trip to haacked.com or two, that is ;)

Process, Dan
Software Craftsman Husband & father