test: add a primitive "test case dumper"

`go test -tags dump` will produce a directory containing all of plist's
test collateral.
1 file changed
tree: 31fefc341ced4225056720bc1a370fc1a0b5bb7d
  1. .github/
  2. cmd/
  3. testdata/
  4. .gitlab-ci.yml
  5. bplist.go
  6. bplist_generator.go
  7. bplist_parser.go
  8. bplist_test.go
  9. common_data_for_test.go
  10. decode.go
  11. decode_test.go
  12. doc.go
  13. dump_test.go
  14. encode.go
  15. encode_test.go
  16. example_custom_marshaler_test.go
  17. fuzz.go
  18. go.mod
  19. go16_test.go
  20. go17_test.go
  21. invalid_bplist_test.go
  22. invalid_text_test.go
  23. LICENSE
  24. marshal.go
  25. marshal_test.go
  26. must.go
  27. plist.go
  28. plist_types.go
  29. README.md
  30. text_generator.go
  31. text_parser.go
  32. text_tables.go
  33. text_test.go
  34. typeinfo.go
  35. unmarshal.go
  36. unmarshal_test.go
  37. util.go
  38. xml_generator.go
  39. xml_parser.go
  40. xml_test.go
  41. zerocopy.go
  42. zerocopy_appengine.go
README.md

plist - A pure Go property list transcoder coverage report

INSTALL

$ go get howett.net/plist

FEATURES

  • Supports encoding/decoding property lists (Apple XML, Apple Binary, OpenStep and GNUStep) from/to arbitrary Go types

USE

package main
import (
	"howett.net/plist"
	"os"
)
func main() {
	encoder := plist.NewEncoder(os.Stdout)
	encoder.Encode(map[string]string{"hello": "world"})
}