rubyonjets/jets

Trying to get cucumber working with Jets

cayblood opened this issue · 1 comments

Summary

I'd like to be able to use Cucumber as a BDD testing tool for Jets. I've been working on an example repo trying to get it to do basically the same thing that would be possible with cucumber and cucumber-rails installed in a conventional rails repo.

I'm wondering if you can briefly download and try to run cucumber in this repo. I'm currently getting the following error:

uninitialized constant Jets::Middleware::DefaultStack::Shotgun

Motivation

Cucumber is a widely-used test framework that enables users to create human-readable descriptions of acceptance criteria that are still executable. Building a robust set of cucumber step definitions can make it very easy to create many different complex testing scenarios.

Reference-level explanation

Wondering if you can follow the short setup instructions in this sample repo and if you have any insight into what might be going wrong. If I can get this working, I should be able to create a cucumber-jets gem to make it easier for future users.

I just got this working. Have updated the repo in question with my fixes.