Unit Tests
Le dummy, un indice pas si con à propos de votre design...
Je l’ai déjà évoqué dans le précédent article, je suis persuadé que nos tests nous fournissent des informations pertinentes quant au design de nos applications. Il faut savoir les entendre. Pour une...
read articleComment tester une méthode privée ?
Dans cet article quand j’utilise le terme "méthode privée" cela correspond aux méthodes qui ne sont pas accessibles depuis l’interface publique d’une classe. En PHP, par exemple, il peut...
read articleTest suite guidelines
Yesterday I watched again the "Breaking up (with) your test suite" talk by Justin Searls, and it resonated with an idea I recently had while working on a project for one of my clients. I...
read articleUsing Property Based Testing to test priorities
I was recently working on a project with an Angular frontend where we displayed an action button. That button had to be disabled when some conditions were met. Examples of conditions are: not the...
read articleTest for behaviour not for implementation
While working on SearchCache I made a test which was ensuring that two shared search results coming from a same search - using the same search parameters - should be stored using the same key. Here it...
read articleTShirt a day
I've been reading a lot of books and blog posts, watching a lot of conferences about development for the past year and I was searching a project to help me wrap my head around all the interesting...
read article