steveklabnik/rustdoc

Write more tests

Aperta

#75 aperta il 27 lug 2017

 (6 commenti) (0 reazioni) (0 assegnatari) (22 fork)github user discovery
E-Easybackendenhancementhelp wanted

Metriche repository

Star
 (104 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor