Skip to content

Report generated RSpec projects through raider_reporter (3.3.0) - #156

Merged
aguspe merged 7 commits into
masterfrom
feature/1b-raider-reporter
Oct 11, 2026
Merged

aguspe merged 7 commits into
masterfrom
feature/1b-raider-reporter

Conversation

@aguspe

@aguspe aguspe commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Generated RSpec projects now report through raider_reporter (version 3.3.0).

Tracks RaiderHQ/raider_saas#25

Decisions

  • D1 Allure stays. raider_reporter is added for RSpec projects only; Cucumber templates are unchanged.
  • D2 Screenshots are taken only when example.exception is set, and each is attached to both Allure and Raider (RaiderReporter.attach('screenshot', path, type: :png)).
  • D3 The generated Gemfile pins gem 'ruby_raider', '~> <MAJOR.MINOR of lib/version>' (previously a stale ~> 1.1.0).
  • D4 Generated GitHub CI triggers on push (main, master), pull_request and workflow_dispatch. RSpec test steps get RAIDER_TOKEN / RAIDER_ENDPOINT, and actions/upload-artifact@v4 uploads raider-results/ with if: always() (per-job names for Appium).
  • D5 Version 3.3.0 with a release note in RELEASE.md. Publishing is owner-only.

Notes

  • The Raider formatter is registered in helpers/spec_helper.rb rather than .rspec: a command-line --format (as the generated CI uses) replaces .rspec formatters and would silently drop it.
  • spec_helper requires digest; allure-ruby-commons 2.28 uses Digest::MD5 without requiring it and crashed the run (exit 1) before results were written.
  • Readme gets a Reporting section for RSpec projects.

Verification

  • Content suite: 432 examples, 0 failures.
  • bundle exec rake integration: 861 examples, 0 failures (~32 s, local Chrome). The RSpec x Selenium and RSpec x Watir end-to-end specs now assert raider-results/run.json (schema_version 1, every example present, exit status unchanged). The e2e helper resolves ruby_raider from the checkout, since the pinned 3.3 is not published yet.

Comment on lines +159 to 160

end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [rubocop] <Layout/EmptyLinesAroundBlockBody> reported by reviewdog 🐶
Extra empty line detected at block body end.

Suggested change
end
end

@aguspe
aguspe merged commit ce6c4ec into master Oct 11, 2026
9 checks passed
@aguspe
aguspe deleted the feature/1b-raider-reporter branch October 11, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant