Giter Club home page Giter Club logo

atoum's People

Contributors

adriencarbonne avatar agallou avatar armetiz avatar cedcannes avatar dascritch avatar fdussert avatar fferriere avatar gauthier avatar geraldcroes avatar grummfy avatar guillaumedievart avatar hywan avatar jeremyfreeagent avatar jubianchi avatar juliens avatar ludofleury avatar mageekguy avatar marmotz avatar mikaelrandy avatar remicollet avatar scrutinizer-auto-fixer avatar startupz avatar stealth35 avatar stephpy avatar syrm avatar technosophos avatar tejerka avatar tharkun avatar usul avatar vonglasow avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

logorn

atoum's Issues

Strange bug with instrumentation

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:

  • the mageekguy\atoum\instrumentation\coverage class is not instrumented
  • the mark method (the one producing the error) is used elsewhere in the code and does not produce any error
  • when adding an isset test just before the line producing the error, we get the expected result : isset(static::$_scores) === true
  • doing some reflection just before the error also produces the expected result : property exists and is static

Any clue ?

/cc @Hywan

Clean the code

We must use components from atoum in order to avoid code duplication (e.g. in the tokenizer).

Bug with datetime

            ->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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.