GithubHelp home page GithubHelp logo

readable-unit-tests-php's People

Contributors

forevermatt avatar

Watchers

 avatar

readable-unit-tests-php's Issues

Return non-zero exit code if tests fail

This will probably also require changing how I write output to the console during tests, so that progress can be written out, but an exception still thrown for a failure (without losing the console output).

As of version 0.1.0, all the console output is returned as a string, so the run-tests.php file's code doesn't actually know whether things passed or failed. It will need to in order to return an appropriate exit code.

Don't fail the tests if some files don't have tests

Rather than indicating that the tests failed when some files lack tests, simply indicate that and keep going. Otherwise, we'll have a lot of basically-empty test files, which is no better than not having the tests.

Use existing Behat code to fully parse the Gherkin files

Rather than having to re-invent the wheel, figure out how to use existing Behat code to do all the parsing of Gherkin files so that we can use things like Scenario Outline and Examples.

Unfortunately, I haven't figured out yet how to use Behat's classes to accomplish this. Can someone give me some pointers in how to get started?

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.