Giter Site home page Giter Site logo

theseer / phpunit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sebastianbergmann/phpunit

1.0 1.0 0.0 126.85 MB

The PHP Unit Testing framework.

Home Page: https://phpunit.de/

License: BSD 3-Clause "New" or "Revised" License

PHP 99.68% Smarty 0.32%

phpunit's People

Contributors

arturgoldyn avatar edorian avatar epdenouden avatar giorgiosironi avatar henriquemoody avatar ichhabrecht avatar kabel avatar keradus avatar kubawerlos avatar lawngnome avatar localheinz avatar lstrojny avatar marcioalmada avatar mbeccati avatar mhujer avatar michelhartmann avatar mlively avatar ocramius avatar oliverklee avatar ptomulik avatar realflowcontrol avatar remicollet avatar sebastianbergmann avatar slamdunk avatar sun avatar theseer avatar tobys avatar vbashkirtsev avatar wgevaert avatar whatthejeff avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

phpunit's Issues

PHPUnit\Event\Test\Failed

  • emit where?
  • test class, test method, data provider set?
  • implement Test\Failure value object (see TestFailure)

Related to #1.

Events

  • PHPUnit\Event\Bootstrap\Finished (#5)

  • PHPUnit\Event\TestSuite\Loaded (#23)

  • PHPUnit\Event\TestSuite\Sorted (#26)

  • PHPUnit\Event\TestSuite\Started (#25)

    • PHPUnit\Event\Test\SkippedDueToUnsatisfiedRequirements (#35)

    • PHPUnit\Event\Test\SkippedByDataProvider (#33)

    • PHPUnit\Event\Test\BeforeFirstTestMethodCalled (#44)

    • PHPUnit\Event\Test\BeforeFirstTestMethodFinished (#11)

    • PHPUnit\Event\Test\BeforeTestMethodCalled (#49)

    • PHPUnit\Event\Test\BeforeTestMethodFinished (#54)

    • PHPUnit\Event\Test\PreConditionCalled (#50)

    • PHPUnit\Event\Test\PreConditionFinished (#42)

    • PHPUnit\Event\Test\Prepared (#37)

    • PHPUnit\Event\Test\AbortedWithMessage (#34)

    • PHPUnit\Event\Test\SkippedWithMessage (#36)

      • PHPUnit\Event\TestDouble\TestStubCreated (#51)

      • PHPUnit\Event\TestDouble\MockObjectCreated (#15)

      • PHPUnit\Event\TestDouble\MockObjectCreatedFromWsdl (#40)

      • PHPUnit\Event\TestDouble\MockObjectCreatedForAbstractClass (#52)

      • PHPUnit\Event\TestDouble\MockObjectCreatedForTrait (#16)

      • PHPUnit\Event\TestDouble\PartialMockObjectCreated (#17)

      • PHPUnit\Event\TestDouble\TestProxyCreated (#19)

      • PHPUnit\Event\Assertion\Made (#4)

    • PHPUnit\Event\Test\Finished (#30) -> ausführung der testmethode fertig

    • PHPUnit\Event\Test\PostConditionCalled (#43)

    • PHPUnit\Event\Test\PostConditionFinished (#46)

    • PHPUnit\Event\Test\Passed (#31)

    • PHPUnit\Event\Test\PassedWithWarning (#47)

    • PHPUnit\Event\Test\PassedButRisky (#32)

    • PHPUnit\Event\Test\Failed (#29)

    • PHPUnit\Event\Test\Errored (#28)

    • PHPUnit\Event\Test\AfterTestMethodCalled (#53)

    • PHPUnit\Event\Test\AfterTestMethodFinished (#20)

    • PHPUnit\Event\Test\AfterLastTestMethodCalled (#45)

    • PHPUnit\Event\Test\AfterLastTestMethodFinished (#10)

  • PHPUnit\Event\TestSuite\Finished (#24)

  • PHPUnit\Event\GlobalState\Restored (#9)

  • PHPUnit\Event\GlobalState\Modified (#8)

  • PHPUnit\Event\GlobalState\Captured (#7)

  • PHPUnit\Event\Comparator\Registered (#6)

  • PHPUnit\Event\TestRunner\Finished (#68)

PHPUnit\Event\Test\AbortedWithMessage

  • rename from PHPUnit\Event\Test\SkippedIncomplete to PHPUnit\Event\Test\AbortedWithMessage
  • emit where?
  • test class, test method, data provider set?

Related to #1.

PHPUnit\Event\Test\AfterTestMethodFinished

  • rename from PHPUnit\Event\Test\TearDownFinished
  • determine emit location (see 6267201)
  • emit event
  • compose data
    • test class
    • test method
    • data provider set?

Related to #1.

Consider not emitting the event when the test class does not have a tearDown() method.

PHPUnit\Event\Test\Passed

  • emit where?
  • test class, test method, data provider set?
  • number of assertions
  • number of mocks?
  • coverage information

Related to #1.

PHPUnit\Event\Test\SetUpBeforeTestMethodFinished

  • emit where
  • test class, test method, data provider set?
  • rename from PHPUnit\Event\Test\SetUpFinished

Related to #1.

Consider not emitting the event when the test class does not have a setUp() method.

❗ Event can be removed.

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.