steveklabnik/rustdoc

Write more tests

Offen

#75 geöffnet am 27.07.2017

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen) (22 Forks)github user discovery
E-Easybackendenhancementhelp wanted

Repository-Metriken

Stars
 (104 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Now that we have a test framework, we should verify everything in the JSON. Right now, we only have two tests: https://github.com/steveklabnik/rustdoc/tree/master/tests/source

testing all aspects of https://github.com/steveklabnik/rustdoc/blob/master/frontend/public/data.json is good; that'd take two steps:

  1. we should use jsonapi to validate that it's proper JSON-API
  2. we should test that the proper relationships are created

Contributor Guide