forked from lunarmodules/busted
-
Notifications
You must be signed in to change notification settings - Fork 2
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
adriweb
wants to merge
46
commits into
Overkiz:master
Choose a base branch
from
adriweb:ovk_updated
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
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.
…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
Forward non-positive arg keys
Output error message when test file/dir not found
add italian language support
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
Updated test scripts to support arguments
fix: properly error out on bad config files
Cache io to be robust about mocking io in tests
…den-dir Allow ROOT to contain hidden directories.
…ig-file Fix typo in cli option processing for config-file
fix(rockspecs) proper usage of rockspec revision numbers
fix(ci) do not specify a rockspec, just build the only one there
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Not fully tested all projects yet, but the ones tested so far are OK