tests
tests copied to clipboard
Microformats test suite
This patch constitutes a series of generic unit tests for microformat parsers, using the existing test format. While it is not possible to segregate certain parsing features entirely (notably implied...
So when I was working on fixing some tests, namely one that mirrored https://webmention.rocks/test/15, I noticed that the Rust mf2 parser couldn't handle empty rels. I've patched it to do...
Just a drive-by issue while I am doing work on a microformats2 JSON schema. There was a problem with my schema that was not caught by any JSON files in...
Hi @dissolve Looks like you are motoring with your parser and finding all sorts of issues with the tests. Great to see someone putting a lot effort into a parser....
Hello, all! Spurned on by @aimee-gm's #118 and the ensuing conversation in [#microformats chat](https://chat.indieweb.org/microformats/2020-05-11#t1589200726370900), I'd like to open this discussion with some thoughts on we might improve this project and...
In these two `h-resume` tests: * `tests/microformats-v2/h-resume/education.json` * `tests/microformats-v2/h-resume/work.json` ... the `education` property contains a strange blend of `h-card` and `h-event`, which isn't documented in the spec, and seems incorrect....
https://github.com/microformats/tests/blob/master/tests/microformats-v1/hproduct/aggregate.json parses description as e-description, when http://microformats.org/wiki/h-product#Backward_Compatibility says to process it as p-descrpition
Should we set up CI tests for this repo with mf2 parsers for various languages?
https://github.com/microformats/tests/blob/master/tests/microformats-v1/hnews/all.json backcompats principles, entry, dateline, source-org, and geo despite hnews not being listed in backcompat at all https://github.com/microformats/tests/blob/master/tests/microformats-v1/hcard/multiple.json adds sound, mailer, and agent https://github.com/microformats/tests/blob/master/tests/microformats-v1/hcard/single.json adds sort-string
The test suite only includes examples of well-known formats. It could also be extended to test correct handling of arbitrary formats (see https://github.com/microformats/microformats2-parsing/issues/5). Additionally, a test case for input without...