Comments (6)
You're right, this seems to be mistake. It should be File.basename file
. Could you send a PR?
from allure-ruby-commons.
@smecsia @xiaoxinghu I guess the PR for the issue above has already been merged followed by mine in which I added parentheses to fix the syntax error, however, I now have no screenshots in my report. I get the following error:
NoMethodError: private method
debug' called for nil:NilClass
occurred at /Users/sharmrw1/.rvm/gems/ruby-2.2.0/gems/allure-ruby-adaptor-api-0.6.8/lib/allure-ruby-adaptor-api/builder.rb:87:in add_attachment'
from allure-ruby-commons.
The reason there are no attachments is because I am using the output dir to save my screenshots so it gets wiped out using the clean_dir config. With file now using File.basename, it doesn't know where the screenshot is anymore
from allure-ruby-commons.
@smecsia I have sent you a PR to fix the above error. @logger should be LOGGER
from allure-ruby-commons.
@smecsia I should have bumped up the version in my PR as well. Would you mind bumping up version for the @logger fix and updating dependency in allure-rspec
? I can send another PR if you'd like!
from allure-ruby-commons.
@sharmarahul I've pushed 0.7.4 to rubygems.
from allure-ruby-commons.
Related Issues (16)
- bump version number to reflect logging level change? HOT 7
- missing parentheses error HOT 1
- undefined method `debug' for nil:NilClass in `lib/allure-ruby-adaptor-api/builder.rb:87` HOT 1
- Add bindings for Label type 'tags' which is a core part of Cucumber. HOT 5
- Add LICENSE
- Unable to generate ruby based allure reports HOT 4
- The report file is always attached to 1st step if there are duplicated steps. HOT 9
- Attachment files overwritten for identical screenshots with rspec-retry HOT 6
- Allure Core 2.0 Support HOT 5
- Inspec/ServerSpec integration HOT 1
- Allure/Watir - HTML Report shows as 0 Test Cases HOT 6
- retry usage HOT 1
- Using tags or labels as in the demo report HOT 2
- Add time argument to start_step and stop_step methods HOT 2
- Replace 'puts' with logger, so user would be able to turn logging off HOT 1
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 allure-ruby-commons.