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 test dir structure #2421

Merged
merged 2 commits into from
Oct 10, 2023
Merged

Conversation

YJDoc2
Copy link
Collaborator

@YJDoc2 YJDoc2 commented Oct 9, 2023

This moves the existing rust-integration-tests/* dirs, specifically integration_test , runtimetest and test_framework one level up, i.e. in the tests/ dir. That way these, specifically test_framework and some other stuff(not in this PR, I'm planning a separate one) into multiple tests. In "other stuff" I am considering extracting youki create-run-stop-delete functions from integration_test into a crate test_util , as well as add podman create-start-run-delete function into the test_util crate. That way we can use them and test_framework to add (proper) rootless podman tests and wasm workload tests.

As for this PR, this only moved stuff around, no actual code-change is done, and updates docs and scripts to account for the new dir structure.

Also, As utam0k mentioned in discord, it is a good time to rename integration_test to something else, so if any suggestions, please add in comments, and I'll update accordingly.

@YJDoc2 YJDoc2 self-assigned this Oct 9, 2023
We can use several things from test_framework and even integration_test
for additional tests such as podman rootless and wasm tests

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
@YJDoc2 YJDoc2 force-pushed the test/refactor-dir-structure branch from 550770a to bbe6359 Compare October 9, 2023 16:06
@YJDoc2 YJDoc2 requested a review from a team October 9, 2023 16:15
@utam0k utam0k merged commit 80f1f36 into youki-dev:main Oct 10, 2023
14 checks passed
@YJDoc2 YJDoc2 deleted the test/refactor-dir-structure branch February 21, 2024 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants