Class: RspecGithubActionsSummary::Output

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec_github_actions_summary/output.rb

Defined Under Namespace

Classes: NoOutputFiles

Instance Method Summary collapse

Instance Method Details

#outputObject



16
17
18
19
20
21
22
23
24
25
26
# File 'lib/rspec_github_actions_summary/output.rb', line 16

def output
  <<~MD
    # Test results

    #{results_table}

    #{failed_examples}
    ---
    Job run summary generated at run-time by [RSpec Github Actions Summary](https://github.com/sebyx07/rspec-github-actions-summary)
  MD
end

#writeObject



12
13
14
# File 'lib/rspec_github_actions_summary/output.rb', line 12

def write
  print output
end