Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from upstream #3

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open

Update from upstream #3

wants to merge 46 commits into from

Conversation

adriweb
Copy link

@adriweb adriweb commented Nov 26, 2019

Not fully tested all projects yet, but the ones tested so far are OK

o-lim and others added 30 commits May 27, 2016 22:51
This updates the `--list` command-line option to honor `--sort`,
`--shuffle`, and `--suppress-pending` flags.
Option --list honors --sort, --shuffle, --suppress-pending
This adds support for running standalone tests via stdin to the Lua
interpreter.

For example:

  lua < standalone_spec.lua

or

  cat standalone_spec.lua | lua
This renames the output handler option passed to `busted.runner` as
`output` rather than `defaultOutput`.
Support running standalone tests from stdin
This fixes a bug when trying to display an unsigned value using '%d',
which will print a negative value when the value is too large.
…lues

Use '%u' to format unsigned numbers
This fixes failing unit tests after upgrading `penlight`. Apparently,
the new version of `penlight` uses `pl.List` internally when traversing
a directory. Hence, we cannot use `pl.List` in any of the insulation
tests.
This updates the helper loader and output handler loader to forward
non-positive command-line argument keys, that are automatically inserted
by the Lua interpreter, to the helper and output handler, respectively.
Previously, if a test file or directory specified on the command-line
is not found, the test file loader would silently fail without reporting
an error. Hence, leading the user to think all requested tests were run,
when, in fact, either an entire test file or directory was skipped. This
updates the test file loader to report an error in the event a requested
file or directory is not found.
Fix failing tests after penlight upgrade
Output error message when test file/dir not found
It appears that "busted" is normally spelled with a lowercase 'b'
Make busted capitalization more consistent
8a4d223 changed the TAP handler to
write results after each test, but the output is still buffered.

If a test hangs, the buffered results of many previous tests will never
be printed, and it's not clear which test caused the hang. Flushing the
output avoids this.
TAP handler: flush output immediately
fix LuaJIT segfault due to ffi reloading
Fails with an error (to stderr) if `-c` was specified, but LuaCov
is not available.
Previously it would just print to stdout and continue without
coverage reporting.
fix(cli) fail if LuaCov is specified but unavailable
The 'try' and 'try.bat' scripts will now pass their parameters
on to Busted when testing.
This allows the test scripts to not have a literal version in them,
but always use the one in the repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.