foretspaisibles / broken Goto Github PK
View Code? Open in Web Editor NEWExtensible testsuite framework for OCaml
Home Page: http://michipili.github.io/broken
License: Other
Extensible testsuite framework for OCaml
Home Page: http://michipili.github.io/broken
License: Other
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:
Having tests that return a Lwt.t
(or a Deferred.t
)
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?
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.
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.
I guess cpio should be added to depexts?
— Armaël
The interface of the Broken has to be simplified, especially what testsuites are, how they are created and how they are run.
As a Travis CI user, I need to see all details about failed cases on standard output, which imply I need tools:
The assert_command
predicate runs a command and tests for its return code and output.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.