Comments (8)
nice it works:
~/s/socializus> rspec spec/models/
Started RSpec tracer
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
RSpec tracer is running 28 examples (actual: 28, skipped: 0)
............................
Finished in 17.46 seconds (files took 9.94 seconds to load)
28 examples, 0 failures
RSpec tracer is generating reports
RSpec tracer reports generated to /Users/dorianmariefr/src/socializus/rspec_tracer_cache/1e61d938cb1b573af4d7a26d86b5ad18
RSpecTracer generated HTML report to /Users/dorianmariefr/src/socializus/rspec_tracer_report/index.html
Coverage report generated for RSpecTracer to /Users/dorianmariefr/src/socializus/rspec_tracer_coverage/coverage.json. 416 / 570 LOC (72.98%) covered
~/s/socializus> rspec spec/models/
Started RSpec tracer
RSpec tracer loaded cache from /Users/dorianmariefr/src/socializus/rspec_tracer_cache/1e61d938cb1b573af4d7a26d86b5ad18
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
RSpec tracer is running 0 examples (actual: 28, skipped: 28)
Finished in 0.23173 seconds (files took 8.73 seconds to load)
0 examples, 0 failures
RSpec tracer is generating reports
RSpec tracer reports generated to /Users/dorianmariefr/src/socializus/rspec_tracer_cache/1e61d938cb1b573af4d7a26d86b5ad18
RSpecTracer generated HTML report to /Users/dorianmariefr/src/socializus/rspec_tracer_report/index.html
Coverage report generated for RSpecTracer to /Users/dorianmariefr/src/socializus/rspec_tracer_coverage/coverage.json. 401 / 553 LOC (72.51%) covered
from rspec-tracer.
That's odd. https://github.com/avmnu-sng/rspec-tracer/blob/main/lib/rspec_tracer/source_file.rb#L10 returns false
for the file path. Would it be possible for you to put a binding.pry
here https://github.com/avmnu-sng/rspec-tracer/blob/main/lib/rspec_tracer/runner.rb#L110 and check the list?
from rspec-tracer.
> untraced_files
=> #<Set: {"/Users/dorianmariefr/src/socializus/spec/spec_helper.rb",
"/Users/dorianmariefr/src/socializus/spec/rspec/instafail.rb"}>
> trace_point_files
=> #<Set: {"/Users/dorianmariefr/src/socializus/app/helpers/format_helper.rb"}>
from rspec-tracer.
Thanks, @dorianmariefr, which one of these two files doesn't exist? The trace_point_files
should always be valid, so I guess, I am doing something wrong when generating RSpec
required files.
from rspec-tracer.
right, "/Users/dorianmariefr/src/socializus/spec/rspec/instafail.rb"
doesn't exist, instafail comes from the https://github.com/grosser/rspec-instafail gem
from rspec-tracer.
Got it. I assumed that the .rspec
file --require
will always exist in the project. I'll work on a fix.
from rspec-tracer.
@dorianmariefr Can you try it out using gem 'rspec-tracer', github: 'avmnu-sng/rspec-tracer'
before I release?
from rspec-tracer.
@dorianmariefr v0.2.0
is released with the fix.
from rspec-tracer.
Related Issues (16)
- Fails at bundle install HOT 2
- How to deal with flaky tests HOT 15
- Significant Increase in the Load Time
- Examples coverage has vendor files
- Time formatter is broken
- Unable to find cache in case of history rewrites
- Exiting from the middle of the suite cripples caches HOT 4
- Allow RSpecTracer to ignore/exclude certain spec files HOT 8
- Support parallel testing (parallel_tests)
- Silence logs optional HOT 10
- Prevent attempting to download from an empty S3 bucket
- In rails projects, track changes to erb/slim/jbuilder files
- Detected non-static command inside system.
- Unnecessary symbol conversion; use `:"_#{method_name}"` instead.
- LoadError: cannot load such file -- rspec-tracer HOT 2
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 rspec-tracer.