Skip to content

Write tests for Practitioner endpoint #39

@spopelka-dsac

Description

@spopelka-dsac

Description:
Right now, we have a read-only Practitioner FHIR endpoint, built using Django, but it doesn't have any tests associated with it. Moving forward, writing tests will be part of the definition of done for any code-base changes, but at the moment we need to play a bit of catch up and write tests for the Practitioner endpoint.

Tasks:

  • Determine the test scenarios that would provide a good signal for testing the Practitioner view
  • Pair with Sarah to review the selected test scenarios
  • Create a PractitionerViewTests class in the ./src/ndhfhir/tests.py file, with methods for testing each of the test scenarios
  • Ensure that the tests pass
  • Document the tests

Definition of Done:

  • There is a PractitionerViewTests class with a method for each of the test scenarios
  • The tests all pass
  • The code is well-documented

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions