lambdaisland / lambdaisland/uri

Copy go's test suite?

Open
#28 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
257
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review test/lambdaisland/uri_test.cljc and compare its coverage with Go's net/url/url_test.go and the W3C URI testing resources linked in the issue. First confirm that the relevant test suites can be reused under compatible licenses. Done means selecting a defined suite and adding its applicable tests to uri.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, go
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.