Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Atoum, le framework de tests unitaires simple e...

Atoum, le framework de tests unitaires simple et moderne

Support de la conférence "Atoum, le framework de tests unitaires simple et moderne" donnée le 9 mars 2017 lors de la ConFoo Montréal 2017.

https://confoo.ca/fr/yul2017/session/atoum-le-framework-de-tests-unitaires-simple-et-moderne

Mikael RANDY

March 09, 2017
Tweet

More Decks by Mikael RANDY

Other Decks in Programming

Transcript

  1. Asserters Types scalaires : array, boolean, float, integer, string, variable

    Types élaborés : castToString, class, dateInterval, dateTime, error, exception, hash, mock, mysqlDateTime, object, output, sizeOf, stream, utf8String
  2. Asserters - Assertions integer() isEqualTo (==) isGreaterThan (>) isGreaterThanOrEqualTo (>=)

    isIdenticalTo (===) isLessThan (<) isLessThanOrEqualTo (<=) isNotEqualTo (!=) isZero ( === 0)
  3. Asserters - héritage variable() isCallable, isEqualTo, isIdenticalTo, isNotCallable, isNotEqualTo, isNotIdenticalTo,

    isNull, isNotNull, isNotTrue, isNotFalse integer() isEqualTo, isGreaterThan, isGreaterThanOrEqualTo, isIdenticalTo, isLessThan, isLessThanOrEqualTo, isNotEqualTo, isZero