steveklabnik/rustdoc

Write more tests

Aberta

#75 aberto em 27 de jul. de 2017

 (6 comentários) (0 reação) (0 responsável) (22 forks)github user discovery
E-Easybackendenhancementhelp wanted

Métricas do repositório

Stars
 (104 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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

Guia do colaborador