Majic Projects
Majic Ansible Roles
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Majic Ansible Roles / Open Task MAR-220 Use pytest-check plugin for improving testing experience
Go to the next issue (open or closed)
Go to the next open issue
Issue basics
  • Type of issue
    Task
  • Category
    Tests
  • Targetted for
    Not determined
  • Status
    New
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    2 hours
  • Time spent
    No time spent
    Click here to see time logged against this issue
Issue details
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

When pytest encounters a failing assert in a test, it stops its execution immediatelly. In many cases the tests should ideally continue running to get a complete picture of things which are failing. For example, when testing TLS-related functionality, it might be useful to test both the supported TLS versions and ciphers in a single run, instead of having to stop-and-fix if TLS version check fails first.

Luckily, this should be possible to easily achieve with the pytest-check plugin.

The following should be done:

  • Introduce the pytest-check plugin into the project.
  • Go through tests for all roles, and switch to using the pytest-check functionality where it makes sense.
  • Update development instructions.
  • Update role reference documentation.
  • Update usage instructions.
  • Update release noets.
Todos (0 / 0)
There are no comments