Skip to content

Conversation

rauhul
Copy link
Contributor

@rauhul rauhul commented Feb 4, 2025

Adds a new test target called ArgumentParserToolInfoTests which contains example json output from dump-help. The test code attempts to parse all json files in the 'Examples' subdirectory. This will help us catch cases where ArgumentParser is unable to parse json generated by older versions.

We still need to add a test that asserts old ArgumentParser versions can parse the output of new versions.

@rauhul rauhul added the enhancement New feature or request label Feb 4, 2025
@rauhul rauhul requested a review from natecook1000 February 4, 2025 19:00
@rauhul
Copy link
Contributor Author

rauhul commented Feb 4, 2025

@swift-ci test

Adds a new test target called ArgumentParserToolInfoTests which contains
example json output from dump-help. The test code attempts to parse all
json files in the 'Examples' subdirectory. This will help us catch cases
where ArgumentParser is unable to parse json generated by older versions.

We still need to add a test that asserts old ArgumentParser versions can
parse the output of new versions.
@rauhul rauhul force-pushed the argument-parser-tool-info-tests branch from b17f683 to c3b8497 Compare February 4, 2025 20:19
@rauhul
Copy link
Contributor Author

rauhul commented Feb 4, 2025

@swift-ci test

@rauhul rauhul enabled auto-merge (squash) February 4, 2025 20:57
@rauhul rauhul merged commit 1fdca83 into main Feb 4, 2025
2 checks passed
@rauhul rauhul deleted the argument-parser-tool-info-tests branch February 4, 2025 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant