History Service REST Test Suite

History Service REST Test Suite

Overview

Test suite for the History REST service.

Prerequisites

Prerequisites are tested in the class HistoryServiceRestTest ??.

  • The terminology SNOMEDCT version "latest" is loaded from the config data project "full" data set

  • The terminology ICD9CM version 2013 is loaded from the config data project

  • The config.properties file fully specifies the "security.handler" parameters

  • The config.properties file specifies a "viewer.user" and "viewer.password"

Assumptions

Assumptions not fulfilled will cause test failures.

  • The security handler specified exists and can be instantiated.

  • The security handler successfully authenticates the "viewer.user", and returns a user with application role of VIEWER

Test Cases.

This test suite comprises the following test cases:

  • Normal Use - org.ihtsdo.otf.ts.test.rest.HistoryServiceRestNormalUseTest

    • Case testNormalUseRestContent001

    • ...

  • Degenerate Use - org.ihtsdo.otf.ts.test.rest.HistoryServiceRestDegenerateUseTest

    • Case testNormalUseRestContent001

    • ...

  • Edge Cases - org.ihtsdo.otf.ts.test.rest.HistoryServiceRestEdgeCasesTest

  • Role Check - org.ihtsdo.otf.ts.test.rest.HistoryServiceRestRoleCheckTest

References/Links

  • n/a