Class: Watir::RSpec
- Inherits:
-
Object
- Object
- Watir::RSpec
- Defined in:
- lib/watir/rspec.rb,
lib/watir/rspec/cli.rb,
lib/watir/rspec/helper.rb,
lib/watir/rspec/version.rb,
lib/watir/rspec/matchers.rb,
lib/watir/rspec/html_formatter.rb,
lib/watir/rspec/matchers/base_matcher.rb
Defined Under Namespace
Modules: Helper, Matchers Classes: HtmlFormatter
Constant Summary collapse
- VERSION =
"3.0.0"
Class Method Summary collapse
-
.file_path(file_name, description = nil) ⇒ String
Generate unique file path for the current spec.
Class Method Details
.file_path(file_name, description = nil) ⇒ String
Generate unique file path for the current spec. If the file will be created during that spec and spec fails then it will be shown automatically in the html report.
12 13 14 |
# File 'lib/watir/rspec.rb', line 12 def file_path(file_name, description=nil) formatter.file_path(file_name, description) end |