Skip to content

V11/refactor out test steps fake#1855

Open
luke-hill wants to merge 5 commits intov11/remove_fake_queryfrom
v11/refactor_out_test_steps_fake
Open

V11/refactor out test steps fake#1855
luke-hill wants to merge 5 commits intov11/remove_fake_queryfrom
v11/refactor_out_test_steps_fake

Conversation

@luke-hill
Copy link
Copy Markdown
Contributor

Description

Much smaller attempt to remove one "fake query" ivar from the message builder class.

This also has an added benefit of removing 2 calls to the #test_case_started_id private method which calls another fake query

Type of change

Please delete options that are not relevant.

  • Refactoring (improvements to code design or tooling that don't change behaviour)

Please add an entry to the relevant section of CHANGELOG.md as part of this pull request.

Checklist:

Your PR is ready for review once the following checklist is
complete. You can also add some checks if you want to.

  • Tests have been added for any changes to behaviour of the code
  • New and existing tests are passing locally and on CI
  • bundle exec rubocop reports no offenses
  • RDoc comments have been updated
  • CHANGELOG.md has been updated

test_step_finished: Cucumber::Messages::TestStepFinished.new(
test_step_id: event.test_step.id,
test_case_started_id: test_case_started_id(test_case),
test_case_started_id: find_test_case_started_by_test_case.id,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This causes the breakage in rerun formatter

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