act:ualise | technology

Posts Tagged ‘best practice

24 Mar, 2009

Clean code cheat sheet

Posted by: j pimmel In: agile

I happened upon the Clean Code Cheat Sheet and thought it worthwhile to share. It draws together a number of principles which help you achieve cleaner and more habitable code.
It includes:

The Get It Done Adagio

Make it Work
Make it Right
Make it Fast

The Three Rules of TDD
SOLID Principles

SRP
OCP
LSP
ISP
DIP

Law of Demeter

Bad smell
Local methods
Local fields
Local params
Local objects

Connascences
Coupling
Cohesion
Common Metrics

A must [...]

22 Jan, 2009

Making your Selenium XPath tests more resilient

Posted by: j pimmel In: testing

For the past few years myself and colleagues have used Selenium extensively to test-drive (and continuously test) all the web-apps which we’ve collectively been responsible for. In that time our massed experience meant we got pretty slick at writing these tests. Then when I started on a new project with a new team, I realised [...]


About

act:ualise | technical blog

notes, observations and obssessions on software quality, agile software development, testing and grails


part of the EnergizedWork experiment