Giter VIP home page Giter VIP logo

broken's People

Contributors

foretspaisibles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

idkjs

broken's Issues

Testing with Async/Lwt

The number one deficiency I find in all OCaml unit testing frameworks today is the lack of integration with Async/Lwt. To me this means two things:

  1. Having tests that return a Lwt.t (or a Deferred.t)

  2. Test runner that is aware of the lwt/async scheduler

Would you recommend to use broken to test Lwt code? If so, how should one do it?

Maintain a journal of test outcomes

For each project using Broken it should be possible to keep track of the results of tests run.

Each test case run should store and identifier for the source tree, a timestamp and its outcome.

Installation broken on Linux

Here's the error that I get:

ERROR while installing broken.0.4.2 ======================================#
# opam-version 1.2.2
# os           linux
# command      /usr/bin/bmake -I/home/rgrinberg/.opam/pgd/share/bsdowl install
# path         /home/rgrinberg/.opam/pgd/build/broken.0.4.2
# compiler     4.02.3
# exit-code    1
# env-file     /home/rgrinberg/.opam/pgd/build/broken.0.4.2/broken-7696-6d07ae.env
# stdout-file  /home/rgrinberg/.opam/pgd/build/broken.0.4.2/broken-7696-6d07ae.out
# stderr-file  /home/rgrinberg/.opam/pgd/build/broken.0.4.2/broken-7696-6d07ae.err
### stdout ###
# [...]
# /usr/bin/install -c -d -o rgrinberg -g users /home/rgrinberg/.opam/pgd/share/doc/broken/html
# (cd broken_html && sh -c '(find $1 -depth $3 | cpio -dump $2 >/dev/null 2>&1) && find $1 -depth $3 -type d -exec chmod 755 $2/{} \; && find $1 -depth $3 -type f -exec chmod 440 $2/{} \;' COPYTREE_DOC . /home/rgrinberg/.opam/pgd/share/doc/broken/html)
# *** Error code 127
#
# Stop.
# bmake[1]: stopped in /home/rgrinberg/.opam/pgd/build/broken.0.4.2/manual
# *** Error code 1
#
# Stop.
# bmake: stopped in /home/rgrinberg/.opam/pgd/build/broken.0.4.2

I'm wondering why are the docs being built at all however? It's customary to only build docs in the optional build-doc: setting in the opam file.

Simplify the interface

The interface of the Broken has to be simplified, especially what testsuites are, how they are created and how they are run.

Print an issue outcome

As a Travis CI user, I need to see all details about failed cases on standard output, which imply I need tools:

  • To print the number of failed cases and various other figures, such as histograms and so on.
  • To print the messages left by failed tests.

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.