Client testing (was Re: Text reflow woes (or: I want bullets back!))

Sean Conner sean at conman.org
Mon Aug 19 08:53:55 BST 2019


It was thus said that the Great Michael Lazar once stated:
> 
> Since there are currently only a handful of actual gemini servers to test
> against, it's difficult to discover these types of bugs when writing a client.
> It would be helpful if there was a playground or sandbox server that presented
> all of the different combinations of URL formats, charsets, response codes, etc.
> that are allowed by the Gemini spec. I might take a shot at starting one myself.

  I've made a stab at some initial tests at:

	gemini://gemini.conman.org/test/torture/

  There are currently 19 tests (0001 through 0019) and they only cover
resolving links (full URL, full path, relative path, relative path with ".."
and "." components), plus parsing of the MIME type.  Comments welcome,
especially with tests that may be unfair or are problematic.

  -spc



More information about the Gemini mailing list