Code Monkey home page Code Monkey logo

test-more's Introduction

This is an almost feature complete alpha of Test::Builder1.5
(Test::Builder with Test::Builder2's internals).  It is all but
feature complete and passes nearly all tests.

If you find any bugs or incompatibilities, please report them at
https://github.com/schwern/test-more/issues


WHAT TEST::BUILDER2 IS

It is a rewrite of the skeleton that holds together all the popular
Test:: libraries.  Its aim is to increase flexibility and allow Perl
authors to do pretty much whatever they please while still not having
to worry about the minutiae of test formats or coordinating with other
test libraries.


WHAT TEST::BUILDER2 IS NOT

It is not a rewrite of Test::More.  Maybe later we can do Test::More2.

It doesn't directly effect how people write tests, but how people
write test libraries (which people then use to write tests).  Many
things that were previously impossible are now possible.


COMPATIBILITY

Test::Builder, Test::More and Test::Simple will continue to work as
before.

Test::Builder2 is not directly compatible with Test::Builder, thus the
new namespace.

Test modules built with Test::Builder will work together with those
built with Test::Builder2.


WHAT WORKS

All the existing Test::Builder and Test::More features
Test event hooks
Multiple formatters (ie. you can output something other than TAP)
Test::Builder using Test::Builder2
Event Handlers (ie. things like Test::NoWarnings)


WHAT DOESN'T WORK

Assert stacks (ie. no more $Test::Builder::Level)
Structured diagnostics
Threads
Test::Aggregate
Test::Group
Test::SharedFork


WHERE TO LOOK

An outline of the redesign is in TB2::Design.

More information can be had at https://github.com/schwern/test-more/


EXAMPLES

Examples can be found in examples/TB2.  These include:

* Alternative formats
* Reimplementation of Test::NoWarnings
* Die-on-fail
* Debug-on-fail

test-more's People

Contributors

schwern avatar ncleaton avatar lecstor avatar hdp avatar noirin avatar jkeenan avatar pdl avatar rjbs avatar cebjyre avatar dakkar avatar szabgab avatar doherty avatar chromatic avatar colinnewell avatar gaurav avatar tokuhirom avatar ribasushi avatar ovid avatar milu71 avatar wolfsage avatar karenetheridge avatar theory avatar ilmari avatar craigberry avatar coke avatar zfrog avatar timgimyee avatar nnutter avatar toddr avatar sartak avatar

Watchers

 avatar James Cloos avatar

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.