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

Support running standalone tests from stdin #521

Merged
merged 2 commits into from
Jun 7, 2016

Conversation

o-lim
Copy link
Contributor

@o-lim o-lim commented May 30, 2016

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

@o-lim o-lim force-pushed the stdin-compatibility branch from d34c20a to 56bfb3c Compare May 30, 2016 06:53
@DorianGray
Copy link
Contributor

@o-lim please rebase? I'll merge immediately. Great change.

o-lim added 2 commits June 6, 2016 17:26
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`.
@o-lim o-lim force-pushed the stdin-compatibility branch from 56bfb3c to 2734e08 Compare June 7, 2016 00:26
@o-lim
Copy link
Contributor Author

o-lim commented Jun 7, 2016

No, problem. Rebased on top of previous merge.

@DorianGray DorianGray merged commit 1a7bfe6 into lunarmodules:master Jun 7, 2016
@DorianGray
Copy link
Contributor

Thanks!

@o-lim o-lim deleted the stdin-compatibility branch June 8, 2016 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants