Skip to content

--format "documentation" is not a valid class name (RuntimeError) #31

@rajars2576

Description

@rajars2576

while I am running the tasks using

Spec::Rake::SpecTask.new('SampleTest') do |t|
desc "A TestSuite on InternetExplorer on Windows OS X"
t.libs << "test"
t.spec_files = FileList['Init_loader.rb','SampleTest.rb']

t.spec_files = FileList['Init_loader.rb','../Doctor/FridayExecution/*/.rb']

t.spec_files = FileList['Init_loader.rb','TuesdayExecution/40_TuesdayExecution_Lawyer_MD.rb']

t.spec_opts << '--color'
t.spec_opts << "--require 'rubygems,selenium/rspec/reporting/selenium_test_report_formatter'"
t.spec_opts << "--format=Selenium::RSpec::SeleniumTestReportFormatter:./../../Avvo-test-results/Lawyer/BVT/TestResults_A.html"

t.spec_opts << "--format documentation"
or

t.spec_opts << "--format=documentation"

t.verbose = true
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions