Re: [myhdl-list] IP core library
Brought to you by:
jandecaluwe
From: Henry G. <he...@ca...> - 2015-04-26 11:07:42
|
On 26/04/15 11:30, Euripedes Rocha Filho wrote: > 2015-04-26 5:16 GMT-03:00 Henry Gomersall <he...@ca... > <mailto:he...@ca...>>: > > On 25/04/15 22:49, Euripedes Rocha Filho wrote: > > I'm doing some personal variation of TDD, lots of unit testing > but not > > "driving" the development. I'm not that religious :) > > So you're not doing TDD at all then, you're just doing testing. TDD is > useful precisely because the tests are written first. > > Switching to TDD is a total mindset switch (hence your religious > comment). It basically becomes psychologically impossible to write > untested code. > > Yes, but you will agree that such a mindset take some time to build, I find one just has to do it. I did a project that was half-arsed for a while and it never felt complete. Only when I decided to do it properly did I fully grok the joy. > > I'm actually an advocate of BDD over TDD, as behaviour is actually > what > one cares about. > > > I did some read about BDD but didn't practice it yet. This is a really interesting and I think pretty misunderstood field. I recommend this blog post: http://hadihariri.com/2012/04/11/what-bdd-has-taught-me/ I wrote a bit about it myself in light of that post: https://hgomersall.wordpress.com/2014/10/03/from-test-driven-development-and-specifications/ Great stuff! hen |