Skip to content

Conversation

@klauer
Copy link

@klauer klauer commented Oct 27, 2022

Goal

  • Convert unittest-based tests into pytest and refactor around built-ins such as assert
    • This is cleaned/pared down from a previous effort in a separate repository for SLAC (LCLS, PCDS) to verify new gateway deployments
    • There are new tests here: a description will be added later
  • Add junit-xml output for tests (included as an artifact)
  • Add test result summary (included as an artifact which seems to render in the GH actions page as well)

Work-in-progress

Remaining to do:

  • Describe the newly-added tests that weren't just an update/conversion
  • Look into recent epics-extensions/ca-gateway changes that happened after these were converted to pytest (and forked into the other repository)
  • Open issues for expected-but-not-yet-reported test failures (mostly related to caPutLog handling)
  • Investigate differing results from what we saw previously
  • See if there are any better test summarizing tools
  • Update 3.14/3.15 to test put logging (or disable those tests entirely)

@klauer klauer closed this Sep 21, 2023
@ralphlange
Copy link
Contributor

I hope you closed it to be replaced by a rebased equivalent?!

@klauer klauer reopened this Sep 22, 2023
@klauer
Copy link
Author

klauer commented Sep 22, 2023

Ah, was cleaning up my old PRs and closed this by mistake - would you mind approving the CI to run?

@klauer
Copy link
Author

klauer commented Nov 7, 2023

@ZLLentz maybe this is something you could take over at some point? (cc @tangkong)

ralphlange added a commit to ralphlange/ca-gateway that referenced this pull request Aug 22, 2025
- based on Ken Lauer's PR at
  https://github.com/klauer/ca-gateway/tree/ref_switch_to_pytest
- not perfect/finished, but much better than the existing tests

(closes epics-extensions#48)

Co-authored-by: Ralph Lange <[email protected]>
ralphlange added a commit to ralphlange/ca-gateway that referenced this pull request Aug 22, 2025
- based on Ken Lauer's PR at
  https://github.com/klauer/ca-gateway/tree/ref_switch_to_pytest
- not perfect/finished, but much better than the existing tests

(closes epics-extensions#48)

Co-authored-by: Ralph Lange <[email protected]>
ralphlange added a commit to ralphlange/ca-gateway that referenced this pull request Sep 26, 2025
ralphlange added a commit to ralphlange/ca-gateway that referenced this pull request Sep 30, 2025
ralphlange added a commit to ralphlange/ca-gateway that referenced this pull request Oct 15, 2025
ralphlange added a commit to ralphlange/ca-gateway that referenced this pull request Nov 30, 2025
ralphlange added a commit to ralphlange/ca-gateway that referenced this pull request Dec 2, 2025
ralphlange added a commit to ralphlange/ca-gateway that referenced this pull request Dec 2, 2025
ralphlange added a commit to ralphlange/ca-gateway that referenced this pull request Dec 2, 2025
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.

2 participants