lambdaisland / uri

A pure Clojure/ClojureScript URI library
Mozilla Public License 2.0
243 stars 21 forks source link

Copy go's test suite? #28

Open danielcompton opened 2 years ago

danielcompton commented 2 years ago

Go has a pretty comprehensive test suite for URI handling - https://go.dev/src/net/url/url_test.go. I know there is some spec testing in https://github.com/lambdaisland/uri/blob/main/test/lambdaisland/uri_test.cljc, but I think the Go tests cover more than that.

Would there be interest in porting their tests to uri, assuming the licenses are compatible?

Or perhaps more directly port more test suites from https://www.w3.org/wiki/UriTesting, or http://test.greenbytes.de/tech/tc/uris/

plexus commented 2 years ago

Sure, would be interesting to see what that yields.