public marks

PUBLIC MARKS with tag "unit test"

2018

2016

Testing PHP Code with Atoum - an Alternative to PHPUnit

by srcmax
If you’ve been around PHP for more than a little while, you’ve no doubt started to test your code. And if you ask anyone in the PHP space what to use for writing unit tests, likely the first answer that they’ll give you is PHPUnit. It’s the de facto standard in the PHP community, and with good reason. But it’s not the only choice. Whilst it does command the lion’s share, other choices abound, one of which I’m going to take you through in this tutorial; it’s called atoum.

2012

2011

Mockist/Classical testing, Behavior/State testing

by ludochane
In this article, Martin Fowler explains how mock objects work, how they encourage testing based on behavior verification, and how the community around them uses them to develop a different style of testing

PowerMock

by ludochane
PowerMock uses a custom classloader and bytecode manipulation to enable mocking of static methods, constructors, final classes and methods, private methods, removal of static initializers and more. Currently PowerMock supports EasyMock and Mockito

Mockito

by ludochane
Framework de mock java

2010

2009

Mocking : is there a difference between asking and telling?

by Elryk
Article expliquant en quoi librairie Mockito fait bien la différence entre les indirect input et les indirect output.

2008

Jay Fields' Thoughts

by Regis
experiences in software development, and testing in particular

Active users

mfaure
last mark : 10/04/2018 09:56

srcmax
last mark : 20/12/2016 09:25

RETFU
last mark : 28/08/2012 07:58

vrossign
last mark : 05/02/2012 11:03

ludochane
last mark : 11/01/2011 09:39

dzc
last mark : 12/02/2010 09:57

Elryk
last mark : 05/02/2009 12:06

Regis
last mark : 12/08/2008 14:00