This repository was archived by the owner on Nov 20, 2020. It is now read-only.
forked from lunarmodules/busted
-
Notifications
You must be signed in to change notification settings - Fork 2
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Fix configuration loading
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
Update error messages
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.
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
Fix junit testcase time
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.
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
Forward non-positive arg keys
Output error message when test file/dir not found
add italian language support
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.