As a consultant I travel quite a lot by car. By the end of every month I need to fill in our corporate Excel spreadsheet with my mileage and send it to payroll in order to get reimbursed.
During my parental leave this summer I had some moments which I could spend on coding-for-fun. Like a whole lot of others these days I began to write a couple of Windows Phone 7 apps. Among the first things I looked into was the availability of testing frameworks especially suited for Windows Phone development. Back then I found one – the silverlight toolkit unit testing framework. It’s an impressive piece of work. But in my humble opinion it lacks, currently, two major features. The first feature is; execute unit test outside of the emulator or the device i.e. on your computer.
Context/Specification är en alternativ stil att skriva enhetstester enligt. Tycker du att ni har enhetstester som är komplexa eller svåra att underhålla av andra anledningar? Då kan Context/Specification stilen vara ett bra verktyg i arbetet med att reda ut situationen.