Skip to content

Fix compatibility with rubytest 0.5+ #17

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felixonmars
Copy link

Since rubytest 0.5, Test::Runner.cli gets removed, which breaks the lemons command line utility:

lib/lemon/cli.rb:28:in `cli': undefined method `cli' for
Test::Runner:Class (NoMethodError)

As the CLI functionality was split off as rubytest-cli, let's depend on it instead and adapt to the new method name.

Since the original test folder is no longer present now with lemon 0.9+, I can at least verify that lemons runs successfully with rubytest 0.7.0

  • rubytest-cli 0.1.0 after this change.

Since rubytest 0.5, `Test::Runner.cli` gets removed, which breaks the
lemons command line utility:

```
lib/lemon/cli.rb:28:in `cli': undefined method `cli' for
Test::Runner:Class (NoMethodError)
```

As the CLI functionality was split off as `rubytest-cli`, let's depend
on it instead and adapt to the new method name.

Since the original test folder is no longer present now with lemon 0.9+,
I can at least verify that lemons runs successfully with rubytest 0.7.0
+ rubytest-cli 0.1.0 after this change.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant