steveklabnik/rustdoc

Write more tests

Open

#75 opened on Jul 27, 2017

 (6 comments) (0 reactions) (0 assignees) (22 forks)github user discovery
E-Easybackendenhancementhelp wanted

Repository metrics

Stars
 (104 stars)
PR merge metrics
 (No merged PRs in 30d)

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

Contributor guide