This post is about Dynamics in C#, TDD and how we can mix all of this in a fun and fluent way
I presented that at the last ALT.NET Fr meetup and I want to share it more widely now after the very good first impressions given by the community.
For a long time now, I thought about how dynamic can help writing tests. Since my friend Thomas Pierrain started the NFluent library, I tried to keep in mind introducing dynamic in it’s library because I think it could help.
I then came with some ideas in a form of a small POC that I want to share with you. Instead of a long discourse, I preferred to record the following small videos because the most interesting part of the concept is how things changes constantly in a very small feedback loop. And thanks to Remco Mulder and it’s continuous testing tool NCrunch, it’s even better and quicker
Introduction : problems, concepts
Demo 1 : 2 step dynamic implementation
Demo 2: Function mocking facilities
As I said, this is now mostly ideas, concepts, tests but I think it’s important to go deeper in that direction because getting a better feedback loop is very important and we also have to test things like that to discover new usages.
Any ideas, comments are welcome, you can post comments here, ping me on twitter (@rhwy) or send me a mail to rui at rui dot fr.