tests

From IndieWeb
(Redirected from Testing)


Tests are a way to automatically check ones implementation for edge cases where it may break.

Why

By utilizing tests and test suites when building an implementation one can get an easier understanding of the diversity among other implementations and ensure that one can take it into consideration when building.

Tools

General

  • Indiewebify.me – is a service that checks how much "indie web" your site is from many different perspectives

Microformat Parsing

Main article: microformats2

Micropub

Main article: Micropub

Webmention

Main article: Webmention

Additional Webmention tests:

  • checkmention – tests the security of a webmention endpoint
  • node-webmention-testpinger – pings a local webmention endpoint with a variety of test mentions taken from both real world sites and example markup. Aids in ensuring a correct presentation
  • node-webmention-testendpoint – a tool to test your webmention client. Generates a demo-post and a demo-endpoint to test if your client parses the webmention-endpoint correctly and to check if the ping body is transmitted correctly.

See Also