package
0.0.0-20240406192013-deac4dcf2bec
Repository: https://github.com/sandmannmax/go-xml.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

Tests for generated code

This directory contains generated tests that ensure code generated by the xsdgen package can marshal and unmarshal documents described by an XML schema.

Updating tests

To update the tests here, run

go generate

Tests should be re-generated any time code generation behavior is changed.

Adding a new test

Adding a new test (and making it pass) is a great way to ensure your use case continues to work. Create a new subdirectory with the following:

  • An XML schema file with the extension .xsd
  • A sample XML document that conforms to the schema with extension .xml

If possible, use a small schema, or trim down an existing schema.