Monthly Archives: June 2010

Off topic – a very addictive little game for Windows, Mac and Linux…

http://www.hemispheregames.com/osmos/

Very chilled out…

Crazy Talk – Holistic Web Testing – Some forces…

So given the above, the forces I am trying to balance are

  • Make it easy for people to do the right thing, hard to do the wrong thing.
  • Make it valuable (Finds more bugs than false alarms)
  • Make it resilient (Allows me to refactor like the true crazy person I am)
  • Make it fast (Magnify it’s value rather deminishing it)
  • Make it good enough (Give me enough confidence to do more crazy stuff but don’t become dogmatic)
  • Allow people to do what they are good at

Next I’ll talk about how the default setup I use to do, in-memory, out of container testing.

Crazy Talk – Holistic Web Testing – Whys and Values…

Now for some web specific whys/values I do the in-memory acceptance testing…

  • Semantic Html is my golden hammer
  • Progressive enhancement is my swiss army knife
  • I love JavaScript but try to never write any but if i must I make sure it’s generic. I try very hard to make sure no else writes any either and if they do I just refactor it till it deletes itself.
  • I love AHAH and barely tolerate AJAX / JSON
  • REST is my natural state not something I read about

All of these forces / values / beliefs drive me to solve the problem of web testing in a very different approach from most people. It is about an alternative holistic approach to web architecture, testing and productivity.

So now I have expressed some of the forces / the whys, I will try cover the hows and whats.

Crazy Talk – Holistic Web Testing – Some values…

(Previously on TWSDEV)

As the “crazy” guy behind the in-memory / out-of-container acceptance testing on a number of java/.net projects, I think it’s important I explain to people the “Why” and the forces / constraints I am trying to balance. But first I want to quickly lay down my beliefs and values:

  • I believe in testing as much as possible (UI included)
  • I believe tests must add more value than they cost (Measure it!)
  • I value tests that are fast and are resilient to change more than tests that take a long time to run and are brittle.
  • When refactoring a feature I value acceptances tests and integration test over unit tests.
  • When designing/exploring a new interface / object interaction I value unit tests over acceptance tests to help guide me.
  • I believe that QA’s are so much better at finding bugs than DEVs but worse at writing code / abstractions