Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor IOC test framework device disconnection tests & add README documentation #558

Merged
merged 41 commits into from
Sep 20, 2022

Conversation

boeuf-codes
Copy link
Contributor

@boeuf-codes boeuf-codes commented Aug 17, 2022

Ticket: ISISComputingGroup/IBEX#7266
Refactoring all test modules which contain the common behaviour as described in the ticket.

  • Added documentation in IOC Test Framework README for use of new util fn
  • Added a emulator util function to generalise common device disconnection behaviour
  • Used new emulator util function instead of old logic
  • Added in asserts/before main assertions for robustness
  • Occasionally fixed some tests which threw errors as a result of the above

@boeuf-codes boeuf-codes changed the title Refactor all modules which test device disconnection behaviour Refactor all IOC test framework modules which test device disconnection behaviour Aug 17, 2022
@boeuf-codes boeuf-codes changed the title Refactor all IOC test framework modules which test device disconnection behaviour Refactor IOC test framework device disconnection tests & add documentation Aug 17, 2022
@boeuf-codes boeuf-codes changed the title Refactor IOC test framework device disconnection tests & add documentation Refactor IOC test framework device disconnection tests & add README documentation Aug 17, 2022
Copy link
Member

@JackEAllen JackEAllen left a comment

Choose a reason for hiding this comment

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

This was a big one! Thanks for tackling it! 👍
Just left minor comments here and there, feel free to challenge me on any or them 🙂
I'll place this into rework for the time being until I get your opinion on my comments.

README.md Outdated Show resolved Hide resolved
common_tests/danfysik.py Show resolved Hide resolved
common_tests/danfysik.py Outdated Show resolved Hide resolved
common_tests/danfysik.py Outdated Show resolved Hide resolved
common_tests/danfysik.py Outdated Show resolved Hide resolved
tests/sm300.py Outdated Show resolved Hide resolved
tests/smrtmon.py Show resolved Hide resolved
tests/superlogics.py Outdated Show resolved Hide resolved
tests/superlogics.py Outdated Show resolved Hide resolved
tests/superlogics.py Outdated Show resolved Hide resolved
@boeuf-codes boeuf-codes requested a review from JackEAllen August 25, 2022 08:34
Copy link
Member

@JackEAllen JackEAllen left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@JackEAllen JackEAllen merged commit 97478e6 into master Sep 20, 2022
@JackEAllen JackEAllen deleted the Ticket_7266 branch September 20, 2022 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants