atoum / atoum-documentation

Documentation of atoum, a php unit test framework
http://docs.atoum.org
Other
10 stars 41 forks source link

constant asserter : missing documentation #156

Closed agallou closed 7 years ago

agallou commented 8 years ago

there is no documentation for the constant asserter.

it has an isEqualTo (and equalTo) method :

And seems to be used like this :

$this->constant(GLOB_NOSORT)->isEqualTo(4);

I don't really see the use case here. There is no check on wether it's a constant or not. So why not using the string/float/asserters ?

Is it just for the sematic ? (should we reflect that on the documentation ?) // ping @atoum/all

marmotz commented 8 years ago

That's good questions

Grummfy commented 7 years ago

ping @jubianchi @Hywan