steveklabnik/rustdoc

Write more tests

Ouverte

#75 ouverte le 27 juil. 2017

 (6 commentaires) (0 réaction) (0 personne assignée) (22 forks)github user discovery
E-Easybackendenhancementhelp wanted

Métriques du dépôt

Stars
 (104 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur