Skip to content

Regression testing #854

Description

@jon-nfc

Details

  • test to ensure that the returned exceptions are correctly formatted.
  • test to ensure that all endpoints return the correct status codes

xFail tests

Tests that are marked xfail must actually be counted as a test and therefore assert False as a positive and if assert True then fail the test. Any xFail test that assert True is a regression.

Links

Requirements

  • DRF exception message must be used
  • DRF exception must use same status_code
  • Django model errors converted to DRF
  • Django Model errors return correct status_code
  • ▶️ Update test suites so that tests marked xfail, pass on failure and fail on pass ◀️

Metadata

Metadata

Assignees

No one assigned

    Labels

    task::testTesting and related items

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions