Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

refactor local test runner #1366

Merged

Conversation

billonahill
Copy link
Contributor

@billonahill billonahill commented Sep 9, 2016

Refactors local_test_runner integration test to prepare for adding a scaling test

  • Change to object-oriented from proceedural
  • Use the template pattern to allow for test subclassing (see TestTemplate.run_test())
  • Change method and variable names to be snake_case instead of camelCase (idiomatic python)

Required for #1292.

@billonahill billonahill self-assigned this Sep 9, 2016
@kramasamy
Copy link
Contributor

👍 - nice cleanup!

return False

# pylint: disable=no-self-use
def get_pid(self, processName, heronWorkingDirectory):
Copy link
Contributor

Choose a reason for hiding this comment

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

still camel case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch, fixed.

@billonahill billonahill merged commit 60d64d6 into apache:master Sep 11, 2016
@billonahill billonahill deleted the billg/refactor_local_test_runner branch September 11, 2016 17:54
nicknezis pushed a commit that referenced this pull request Sep 14, 2020

* clean up code inspection warnings

* make pre_check_results return boolean

* fix bad indents

* change to snake case
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants