Closed BatmanAoD closed 4 years ago
Because the GH Action uses a timeout of 60 minutes for the full test suite, I did not attempt to run it on my personal machine. I did try running just TestParseGo
with -v
but canceled it after a minute or so.
LGTM, thanks for your contribution.
Testing instructions, etc
Description
I took the paragraph on testing in the existing
CONTRIBUTING.md
and separated it into its own section, then added some details.I also checked in the
go.mod
changes created by runninggo test
, as well as the generatedgo.sum
file, sincexgen
is an executable rather than a module.Finally, I added
data/
to.gitignore
to facilitate changing the "active" test set without accidentally duplicating it under version control.Related Issue
Resolves #9.
Motivation and Context
Specific instructions for running tests help potential new contributors.
How Has This Been Tested
I was able to run the parser tests on the
base64.xsd
input using the instructions I added.Types of changes
Checklist