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

Minitest support #49

Closed
elfassy opened this issue May 1, 2014 · 11 comments
Closed

Minitest support #49

elfassy opened this issue May 1, 2014 · 11 comments

Comments

@elfassy
Copy link

elfassy commented May 1, 2014

Does this gem work with minitest? Thanks

@ronwsmith
Copy link
Collaborator

Doesn't appear to out of the box, but take a look at the rspec.rb and cucumber.rb files for an example of what's needed to add support. Essentially just need a way to start and reset it at specific spots of a test run.

@ronwsmith
Copy link
Collaborator

@elfassy, looks like puffing-billy will work with minitest-rails-capybara. You just need to specify the driver to use one of the *_billy versions.

Please try it out and report back. If it works well, we can update the README with a Minitest Usage section.

@sauy7
Copy link

sauy7 commented Feb 22, 2015

I gave this a shot and extracted this gist... https://gist.github.com/sauy7/1b081266dd453a1b737b

It could probably use some tidying up but it might help someone get started.

@ronwsmith
Copy link
Collaborator

Thanks @sauy7, I'll add that link to the README.

@nijotz
Copy link
Contributor

nijotz commented Jun 22, 2015

I'm trying to get billy working with minitest. I keep getting uninitialized constant Billy::RequestHandler::Forwardable (NameError) just trying to do require 'billy', even straight from irb.

@nijotz
Copy link
Contributor

nijotz commented Jun 22, 2015

Looks like adding require 'forwardable' to .../puffing-billy-0.5.1/lib/billy/handlers/request_handler.rb fixed it. This may be another issue regarding ruby version compatibility. I'm using ruby 2.2.1

@ronwsmith
Copy link
Collaborator

Good catch, looks like that should be a runtime dependency.

Please submit a PR if you get a chance. Thanks!

@nijotz
Copy link
Contributor

nijotz commented Jun 24, 2015

This seems a separate issue. I'll create a new one. I did get puffing-billy working with minitest, fyi.

@nijotz
Copy link
Contributor

nijotz commented Jun 29, 2015

I opened #108 for the problem I was running into integrating this with minitest

@ronwsmith
Copy link
Collaborator

Update to v0.6.1 for this support.

@jduffy3
Copy link

jduffy3 commented Nov 21, 2022

Could you update the docs with the setup for MiniTest? 🥲

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants