Giter Site home page Giter Site logo

phpunit-codewars's People

Contributors

kazk avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

hobovsky

phpunit-codewars's Issues

The debug information is not shown in PHP version 7.4

Sorry if it doesn't go here. There are some katas that have enabled 7.4 where you can't see the debug information, like this one it only shows a collapsed Details link and when you click there it shows something like this: /workspace/default/tests/ExampleTest.php:6

Please, check.

PHP notices aren't shown on runner

PHP has useful runtime notices that aren't shown by the code runner, making it more difficult to debug PHP code. For example,

<?php
error_reporting(E_ALL);
print $doesntexist;
[][1];

should print:

PHP Notice:  Undefined variable: doesntexist in main.php on line 2
PHP Notice:  Undefined offset: 1 in main.php on line 3

I know the runner halts and captures when a warning or error is encountered but it doesn't appear to log notices. Is there a good reason not to print these notices on the runner?

Codewars reporter ignores `@testdox` annotation

PHPUnit provides @testdox annotation, which allows custom titles for test classes and test methods. However, Codewars reporter emits <DESCRIBE::> and <IT::> which do not use custom titles.

The cause can be that the CW reporter uses $test->getName(), while custom titles seem to be obtained with \PHPUnit\Util\Test::describeAsString($test), as can be seen in the default reporter.

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.