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

Fuzz test the generated .pot file #65

Open
mgeisler opened this issue Aug 27, 2023 · 0 comments
Open

Fuzz test the generated .pot file #65

mgeisler opened this issue Aug 27, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mgeisler
Copy link
Collaborator

mgeisler commented Aug 27, 2023

This is a followup to #57 which would hopefully have caught #64: we should fuzz test the output of mdbook-xgettext.

We can do this in a at least two ways:

  • We can send the output through msgcat -o /dev/null to get an independent verification that the output can be parsed.
  • We can load the generated output with polib, assuming it will detect similar problems as msgcat. We might want to add a fuzzer for this to the upstream library: Add fuzzer to check round-tripping BrettDong/polib#6.
@mgeisler mgeisler added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant