Skip to content

CIP-RIU/brapiTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
cipriuhq
Sep 15, 2017
e4c7074 · Sep 15, 2017

History

36 Commits
Jan 11, 2017
May 15, 2017
Mar 3, 2017
Jan 11, 2017
Apr 14, 2017
Sep 15, 2017
Jan 11, 2017
Jun 27, 2017
Apr 14, 2017

Repository files navigation

This Repository officially belongs to International Potato Center (CIP)

Repository: https://github.com/CIP-RIU/brapiTS

#Testing

Discussion at PAG 2017 (Jan 19, 2017).

  • Each database to implement test servers with test fixture
  • test scripts need to consider calls calls to determine what is implemented (partial implementations can still be valid)
  • TO DO: create JSON files with inputs and expected outputs for every call (one file per call, can contain several url/responses)
    • a list of [ { ‘url’: , ‘postdata’: , ‘response’: }, … ]
    • will be available from this repo.
  • Testing implementation considerations
    • database ids cannot be relied upon and should not be tested against
    • use searches to identify appropriate objects and corresponding database identifiers (to be used in subsequent tests)
    • problem: how do you map the list of urls containing db ids to actual db ids in the database
      • use placeholders <> for ids that need to be discovered
    • authentication in testing will be addressed at the next hackathon.