steveklabnik/rustdoc

Write more tests

開放

#75 建立於 2017年7月27日

 (6 則留言) (0 個反應) (0 位負責人) (22 個分叉)github user discovery
E-Easybackendenhancementhelp wanted

倉庫指標

星標
 (104 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南