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

Add e2e tests involving live CTest submissions #2299

Open
williamjallen opened this issue Jun 30, 2024 · 0 comments
Open

Add e2e tests involving live CTest submissions #2299

williamjallen opened this issue Jun 30, 2024 · 0 comments

Comments

@williamjallen
Copy link
Collaborator

Copied from @zackgalbreath's comment here so it doesn't get lost:

I think this is a good opportunity to add an end-to-end test of CTest with deferred submissions. I started working on this but got sidetracked. Here's some rough pseudocode of how I was imagining this would work:

  1. Invalidate DB_DATABASE like we do here
  2. Call CTest (either with -D or using a driver script like in the existing "simple" test cases
  3. Verify expected behavior: ctest doesn't throw any errors, the XML files land in the inbox, etc.
  4. Restore DB_DATABASE and call php artisan submission:queue
  5. Verify that the build got parsed successfully.

How to actually achieve this "cleanly" from phpunit is less clear to me. Just a bunch of exec() calls?

@williamjallen williamjallen added this to the v3.6 milestone Jun 30, 2024
@williamjallen williamjallen modified the milestones: v3.6, v3.7 Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant