I used the following notes as guide line for my talk Sydney ALT.NET, and just post them here for future reference…
Had a great night @ the user group and interesting insights into stackoverflow from Sam Saffron.
An important aspect of Agile is the feedback loop or in other words: We want short feedback cycles.
Check out Scott Ambler post for why those feedback loops are so important in Agile http://www.ambysoft.com/essays/whyAgileWorksFeedback.html
We want quick feedback
- 2 weekly reviews
- weekly deploys
- daily stand ups
- pair programming
- code reviews
- automated tests
- …
------------------
The pain with VS2010 … if you write tests, and yes you should…
- Write test
- Stop coding
- Run tests
- Write code
- Stop coding
- Run tests
- Refactor code
- Run tests
------------------
Running tests with vanilla Visual Studio is slow
------------------
Better with Resharper
------------------
Better with TestDriven.NET and shortcut Ctrl+R, T
------------------
Even better with Giles http://codereflection.github.com/Giles/
Giles
On File save, Auto build & test in the background
------------------
We can go 1 step further with nCrunch
http://www.ncrunch.net/
------------------
- Write test
- Write code
- Refactor code
nCrunch takes care of running the tests!
------------------
What else you get?
- No need to save files
- Code coverage
* Black
* Green - Which test covers this line
* Red- Parallel execution
- Intelligent Execution
* Slow tests not affecting the fast ones
-------------------
What is missing? As per today end of July 2011
- Why #fail?
- How to find the failing test?
- How to spot the broken code?
- Test impact analysis?
------------------
Now you
1. Download Giles
http://codereflection.github.com/Giles/2. Download nCrunch
http://www.ncrunch.net/3. Have fun and let me know what you think
------------------
No comments:
Post a Comment