Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » TDD » BDD   (RSS)
Last year I wrote the same test in 24 different ways as a little advent calendar for you to enjoy. This year I'm going to do something similar but also a little bit different. I'm going to start with a simple piece of code and then show how this code Read More...
Yesterday was the fifth MSFTCorpDojo . MineSweeper as usual and we tried switching person at keyboard on each arrow in the TDD cycle (and not really pairing). As last time we tried BDD style tests. Didn't end up quite as neat as last time but we still Read More...
This time we took the completed BankOCR Kata from last time and tried to refactor it using the object calisthenics rules . It was really fun and the dojo was quite different from the other dojos which has been more TDD focus. This time we had a lot of Read More...
I've heard that some people don't think the CodingDojo site tells you a lot about what to expect in a coding dojo. It's more about practical things and listing a number of good problems to solve during the dojo. So I'll try to elaborate. In a coding dojo Read More...
Fourth MSFTCorpDojo today. MineSweeper and MicroPairing this time too.This time we, as a result of the retrospect from last time , we did BDD-style testing (I've added one of the test classes below as an example). We decided to start by implementing a Read More...
So I previously mention a neat way to set up visual studio to work with a console test runner so you don't switch to the error list all the time. There is a potential problem here. Sometimes you add a compilation error to the code. In this case the post Read More...
This time we diverted from what I think is a basic dojo rule; you start over each time. So we continued with our BankOCR variant from last time and actually finished it including extending the number of digits and having three different checksum variants. Read More...
When I first started using xUnit.net the only feasible way to run the tests for me was to use the console test runner as a post build event in visual studio. The only annoying thing about the default settings in visual studio with this setup however is Read More...
Third MSFTCorpDojo today and MineSweeper and MicroPairing again. We did almost no design this time and started with only end-to-end tests. In my opinion the purest way of executing a kata. We had very good progress in the first hour but started refactoring Read More...
Have you ever found yourself fixing a bug or adding a simple feature to some code that have no tests and since you usually do things test driven you know you should get the code under test but you decide not to because the change only takes a few minutes Read More...
We basically did two changes this time compared to last time . We adopted the micro pairing previously discovered and we tried a new Kata; BankOCR . I had prepared a variant of BankOCR where we added one user story at the time so that the group didn't Read More...
I read this excellent post on test readability a few days ago. I like the way he shows how he refactors a test for readability but personally I would have written the example test a little bit differently. First of all I would have added another extension Read More...
Today was the second MSFTCorpDojo I organized. Naturally we did the same kata as the first time . Three very interesting things happened this time. I've done this kata in about ten different dojos now and there are usually two different paths the design Read More...
As usual the answer is it depends . If you insist on looking at short term effects of TDD for example there is no doubt in my mind it is a waste of time. Why deliver great software in six months when you can deliver decent software in four months? Personally Read More...
I recently observed a discussion where one person hesitated to add new dependencies to one class since it meant all calls to the constructor had to be changed. At first glance this only looks as if the person was very strict about constructor dependency Read More...
More Posts Next page »
 
Page view tracker