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

NoMethodError with empty examples #127

Open
AlexeyMatskevich opened this issue Jun 25, 2020 · 0 comments
Open

NoMethodError with empty examples #127

AlexeyMatskevich opened this issue Jun 25, 2020 · 0 comments

Comments

@AlexeyMatskevich
Copy link

❯ crystalball            
I, [2020-06-25T13:58:05.413206 #24937]  INFO -- : Crystalball starts to glow...
Traceback (most recent call last):
	15: from /home/alexeymatskevich/.rbenv/versions/2.7.1/bin/crystalball:23:in `<main>'
	14: from /home/alexeymatskevich/.rbenv/versions/2.7.1/bin/crystalball:23:in `load'
	13: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/bin/crystalball:5:in `<top (required)>'
	12: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:45:in `invoke'
	11: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/rspec/runner.rb:19:in `run'
	10: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/rspec/runner.rb:72:in `build_prediction'
	9: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/rspec/prediction_builder.rb:17:in `prediction'
	8: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/predictor.rb:30:in `prediction'
	7: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/predictor.rb:44:in `predict!'
	6: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/predictor.rb:44:in `flat_map'
	5: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/predictor.rb:44:in `each'
	4: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/predictor.rb:44:in `block in predict!'
	3: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/predictor/modified_execution_paths.rb:21:in `call'
	2: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/predictor/strategy.rb:12:in `call'
	1: from /home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/predictor/modified_execution_paths.rb:22:in `block in call'
/home/alexeymatskevich/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/crystalball-0.7.0/lib/crystalball/predictor/helpers/affected_example_groups_detector.rb:13:in `detect_examples': undefined method `map' for nil:NilClass (NoMethodError)

There are no tests in my application
crystalball_data.yml:

---
:type: Crystalball::ExecutionMap
:commit: 50c5c73bd645e7f7893a8d50235834331874e233
:timestamp: 1593081312
:version: 
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

1 participant