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

feat: added testability of generated files #67

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

szkiba
Copy link
Collaborator

@szkiba szkiba commented Sep 11, 2024

The generated registry and catalog will play an important role in the k6 binary provisioning subsystem, so it is important that there is no loss of service due to generated files. It is advisable to test the generated files to see if they meet the minimum requirements.

The --test flag can be used to test registry and catalog files generated with the --api flag. The test is successful if the file is not empty, contains k6 and at least one extension, and if all extensions meet the minimum requirements (e.g. it has versions).

@szkiba szkiba requested a review from a team as a code owner September 11, 2024 10:15
@szkiba szkiba requested review from pablochacin and removed request for a team September 11, 2024 10:15
@szkiba szkiba linked an issue Sep 11, 2024 that may be closed by this pull request
@szkiba szkiba removed the request for review from pablochacin September 11, 2024 10:15
@szkiba szkiba merged commit 7909c30 into main Sep 11, 2024
5 checks passed
@szkiba szkiba deleted the 66-adds-the-capability-to-test-generated-files branch September 11, 2024 10:18
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.

Adds the capability to test generated files
1 participant