jubianchi / atoum Goto Github PK
View Code? Open in Web Editor NEWThis project forked from atoum/atoum
The modern, simple and intuitive PHP 5.3+ unit testing framework.
License: Other
This project forked from atoum/atoum
The modern, simple and intuitive PHP 5.3+ unit testing framework.
License: Other
Hello :-),
This line: https://github.com/jubianchi/atoum/blob/extension/classes/runner.php#L686. Why do we compute an array instead of returning the SplObjectStorage
verbatim?
{$var}
To do :-).
Using the following config. file and the commands : https://gist.github.com/jubianchi/da7ba5b4d81a489b793f
We get a strange error when running tests :
classes/instrumentation/coverage.php on line 26:
Access to undeclared static property: mageekguy\atoum\instrumentation\coverage::$_scores
Things to know:
mageekguy\atoum\instrumentation\coverage
class is not instrumentedmark
method (the one producing the error) is used elsewhere in the code and does not produce any errorisset
test just before the line producing the error, we get the expected result : isset(static::$_scores) === true
Any clue ?
/cc @Hywan
->datetime($this->newTestedInstance()->fromPg('2014-09-27 18:51:35.678406+00'))
->hasDateAndTime(2014, 09, 27, 18, 51, 35.678406)
fails. If I change the month from int 09 to int 9, it works. The failing message is:
failed: Datetime is 2014-09-27 18:51:35 instead of 2014-00-27 18:51:35
We must use components from atoum in order to avoid code duplication (e.g. in the tokenizer).
foreach ($values as $value) if (in_array($value, $this->value, $strict) === true)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.