Comments (4)
This looks similar to the error from another user #165
Most likely you have a typo in the bind method called in spec helper:
Please add at the beginning of your spec/rails_helper.rb
or spec/spec_helper.rb
:
require 'knapsack_pro'
KnapsackPro::Adapters::RSpecAdapter.bind
This is from the installation guide: https://docs.knapsackpro.com/knapsack_pro-ruby/guide/
Please ensure the name of RSpec has 2 capital letters RS
in the RSpecAdapter
name.
Let me know if this helps.
from knapsack_pro-ruby.
That is unlikely to be the case as I have written the correct name
from knapsack_pro-ruby.
By any chance do you see errors about no access permission while writing to the directory .knapsack_pro
?
knapsack_pro gem creates the .knapsack_pro
directory for temporary files inside of your project directory.
I'm wondering if your issue could be related to this #158
Could you share all errors you see (full backtrace). If you don't want to share it publicly please send an email to the support https://knapsackpro.com/contact
I could also check what's recorded on our API side for your account by knowing your email address.
from knapsack_pro-ruby.
This issue has been solved. The root cause of the issue was that Dir.pwd
was getting reset in one spec which caused the knapsack_pro gem process to not find the .knapsack
directory as knapsack_pro uses a relative path to fetch config. Dir.chdir
with a block in the user's codebase is not thread-safe by design.
from knapsack_pro-ruby.
Related Issues (20)
- All examples skipped after exception in before: suite hook in queue mode HOT 2
- Memory leak HOT 2
- Lots of failures with rolify gem after 4.1 -> 5.0 bump HOT 12
- Docs need to specify ENV var to detect CI provider HOT 1
- Fail gracefully when there's no git HOT 8
- Running `git fetch --shallow-since` to fetch commit author log causes hang on Buildkite runners HOT 12
- rspec-core conflict HOT 4
- Running queue mode locally for troubleshooting with a small subset of tests, but with multiple batches HOT 6
- Does `rake knapsack_pro:rspec_test_example_detector` need to run if there aren't any slow specs? HOT 2
- Slow test analysis runs even when there's no slow tests HOT 2
- Disable example_status_persistence_file_path HOT 3
- Create a replication command on failed node HOT 2
- Incompatibility with rspec --options on 6.0+ HOT 11
- NoMethodError: undefined method `rspec_is_quitting' HOT 2
- NoMethodError: undefined method `rspec_is_quitting' for RSpec::Core::World HOT 1
- After upgrading to minitest 5.22.0 I get error status even if all test pass HOT 8
- NoMethodError: undefined method `keys' for nil HOT 20
- Failing RSpec tests on ~>7.0.0 HOT 7
- DataDog dropping RSpec tests with the knapsack_pro 7.x gem in Queue Mode HOT 1
- Knapsack v7 ignores run options defined in spec_helpers. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knapsack_pro-ruby.