Stay green
Donald and Joe are working together to build the best prime factors decomposition function. They want to try the TPR game so that they don’t have to deal with broken tests nor merge conflicts. tpr = tcr && push || …
Quality with simplicity
Donald and Joe are working together to build the best prime factors decomposition function. They want to try the TPR game so that they don’t have to deal with broken tests nor merge conflicts. tpr = tcr && push || …
External test is green with a Magic Number. I want the service to fetch the value and remove this Magic Number. This fetch takes a parameter that I had not seen coming. Maybe I should revert and reconsider this move. …
In case it is useful for someone else: here is another way to have a proxy stubbing some of the incoming requests. The external tests are in shell directly with curl. My initial need was to stub some graphQL requests …
When building the GitHub Pages App TDD Stats, I wanted to add code coverage with istanbul and it required a little more effort than just wrapping the mocha call with nyc because jsdom is not yet very code coverage friendly. …
The first step of the TDD cycle is to write a failing test. When this new test is green without changing the production code, it is considered that the code is already doing too much. However sometimes the intention of …
Magic what? When you start reading about and trying Test-Driven Development (TDD), you very often discover the coding kata practice. And you see that the next move to answer the first failing test is to return a hardcoded value that …
An hexagon is too tough for me to draw so I use circles for the hexagonal architecture. A disk and a circle around. The disk is for the domain and the space between the disk and the circle is where …
Here is a starting point for a DoD of an increment
This talk was given at the CSI lab in November 2018. Slides http://agilemanifesto.org/ https://martinfowler.com/bliki/FlaccidScrum.html https://www.google.com/search?q=Extreme+Programming&tbm=isch https://www.google.com/search?q=TDD&tbm=isch https://www.scrum.org/about Notes How to make Agile work? What is the promise of Agile in the first place? The agile manifesto has several sections that …
Common questions: until when do I refactor ? When do I stop refactoring ? mmm… TDD First, I design/write a test, then I green it as fast as possible, then I refactor my code. When I make the code pass, …