Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Merge upstream Busted #2

Merged
merged 422 commits into from
Oct 16, 2016
Merged

Merge upstream Busted #2

merged 422 commits into from
Oct 16, 2016

Conversation

kapecp
Copy link
Member

@kapecp kapecp commented Oct 16, 2016

No description provided.

DorianGray and others added 30 commits February 23, 2015 15:35
fix memoryleak in userdata on os.exit in Lua 5.1
Insert timestamp in each test suite header instead of the overall header
for all test suites.
Insert junit timestamp in each test suite
This updates the configuration loader to merge command-line options with
a specified configuration task, taking in order of precedence:
1. Options specified on the command-line
2. Options specified in the configuration file
3. Built-in command-line option defaults
Generate an error if a numeric command-line option is not provided for
`--seed or `--repeat`.
Add French translation for error handling
Update command-line options
Check for possible nil command-line options
keep scm rockspec updated, use in helper scripts
Since lua-term is already used and has a submodule equivalent to ansicolors,
use lua-term for color handling.
Do not pass array containing an empty string as cli args for helpers
when they are not specified.
Fix passing arguments to helpers
Replace ansicolors with lua-term
Eliminate duplicate code in file and describe blocks.
The `done` variable is not used anywhere and async tests are not
supported yet, so remove this unnecessary check.
o-lim and others added 29 commits May 8, 2016 15:00
This allows the user to specify multiple `--pattern` command-line
options, and updates the busted task file to allow for specifying
patterns as a single string (for a single pattern) or as a list of
strings (for multiple patterns).
This avoids time reporting errors that may occur due to changes in the
system time (i.e. when system time is modified by the user when a test
is running).
Use monotime to measure time durations
Allow multiple occurrences of `--pattern` option
Add support for specifying `--exclude-pattern` to exclude files matching
the specified pattern from being run. This is analogous to the
`--exclude-tags` and `--filter-out` command-line options.
Support --exclude-pattern command-line option
This fixes a bug in the TAP output handler causing busted to exit with
an error when the `--suppress-pending` command-line option is used.
Fix TAP output handler for --suppress-pending option
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.
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
add italian language support
@kapecp kapecp merged commit 2a9bfe6 into LuaDist:master Oct 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.