pytest-ansible

A pytest plugin that enables the use of ansible in tests, enables the use of pytest as a collection unit test runner, and exposes molecule scenarios through a pytest fixture.

MIT License

Downloads
499K
Stars
177
Committers
26

Bot releases are visible (Hide)

pytest-ansible - v24.9.0

Published by github-actions[bot] about 1 month ago

Enhancements

  • Community comms (#383) @oraNod
pytest-ansible - v24.8.0 Latest Release

Published by github-actions[bot] 2 months ago

  • Assorted dependency and workflow updates
pytest-ansible - v24.7.1.pre08

Published by github-actions[bot] 3 months ago

CI release and forum post test

pytest-ansible - v24.7.1.pre02

Published by cidrblock 3 months ago

CI release test

pytest-ansible - v24.7.0

Published by github-actions[bot] 3 months ago

Bugfixes

  • Updated cspell dictionary and removed unneeded values (#359) @alisonlhart
pytest-ansible - v24.1.4

Published by github-actions[bot] 4 months ago

Bugfixes

  • Resolve module to full qualified name (#352) @cidrblock
pytest-ansible - v24.1.3

Published by github-actions[bot] 6 months ago

Bugfixes

  • Test Discovery considers global molecule config (#258) @M4rt1nCh
  • Silence incorrect warning message (#289) @AlanCoding
pytest-ansible - v24.1.2

Published by github-actions[bot] 9 months ago

Bugfixes

  • Adjust molecule command from cmdline (#254) @cristianonicolai
pytest-ansible - v24.1.1

Published by github-actions[bot] 9 months ago

Bugfixes

  • Added missing ansible-compat runtime dependency (#246) @ssbarnea
pytest-ansible - v24.1.0

Published by github-actions[bot] 10 months ago

Minor Changes

  • Require python 3.10 or newer (#231) @ssbarnea
  • Require ansible-core 2.14 or newer (#206) @ssbarnea

Bugfixes

  • Fix duplicated host bug with extra_inventory (#180) @CFSNM
  • Avoid use of deprecated pkg_resources (#220) @ssbarnea
  • Add getting started and installation steps to docs (#214) @cristianonicolai
  • Remove outdated-version-block (UP036) (#213) @cristianonicolai
  • Remove dead-code related to unsupported ansible versions (#208) @ssbarnea
  • Avoid early molecule importing (#210) @ssbarnea
  • Avoid accidental plugin activation (#202) @ssbarnea
  • Enable Ruff doc validation (#209) @cristianonicolai
  • Initial mkdocs setup (#199) @cristianonicolai
  • Add pydoclint to pre-commit config (#198) @cristianonicolai
  • Add Python 3.12 to project classifiers (#192) @cristianonicolai
  • Fix codecov configuration (#190) @ssbarnea
pytest-ansible - v4.1.1

Published by github-actions[bot] about 1 year ago

Bugfixes

  • Enable CSpell check (#188) @cristianonicolai
  • Move coverage to pyproject.toml (#179) @Ruchip16
  • Add Python 3.12 to test matrix (#185) @cristianonicolai
  • Remove Flake8 and revisit initial config for Ruff (#186) @cristianonicolai
pytest-ansible - v4.1.0

Published by github-actions[bot] about 1 year ago

Minor Changes

  • Add config option for ANSIBLE_COLLECTIONS_PATH (#163) @Ruchip16
  • Add tests for inventory (#164) @Ruchip16
  • Handle test markers (#167) @Ruchip16
  • todo fixes & __getattr__ method fix (#162) @Ruchip16

Bugfixes

  • Precommit update reqs (#172) @cidrblock
  • Handle test markers (#167) @Ruchip16
pytest-ansible - v4.0.0

Published by github-actions[bot] about 1 year ago

Major Changes

  • feature: integrate pytest-molecule plugin (#144) @Ruchip16

Minor Changes

  • Improved molecule support (#147) @cidrblock
  • feature: integrate pytest-molecule plugin (#144) @Ruchip16

Bugfixes

  • Avoid import error if molecule is not installed (#157) @cidrblock
  • Update requirements (#155) @cidrblock
  • Ignore new ruff errors (#156) @cidrblock
pytest-ansible - v3.2.1

Published by github-actions[bot] about 1 year ago

Bugfixes

  • Fix for ansible 2.9 (#141) @cidrblock
pytest-ansible - v3.2.0

Published by github-actions[bot] about 1 year ago

Minor Changes

  • fix: pytest table name in pyproject.toml (#136) @tjni

Bugfixes

  • Switch to ANSIBLE_COLLECTION_PATH (#139) @cidrblock
  • fix: failing tests in CI for py3.7 & py3.8 (#133) @Ruchip16
pytest-ansible - v3.1.5

Published by github-actions[bot] over 1 year ago

Bugfixes

  • Restore python 3.7 support (#128) @cidrblock
pytest-ansible - v3.1.4

Published by github-actions[bot] over 1 year ago

Bugfixes

  • Remove ansible-core as a runtime dep, move to testing (#127) @cidrblock
pytest-ansible - v3.1.3

Published by cidrblock over 1 year ago

Note

Issues with the release pipeline created a failure for v3.1.1 and v3.1.2.

This release contains on those changes.

pytest-ansible - v3.1.2

Published by github-actions[bot] over 1 year ago

  • Add token write for pypi (#122) @cidrblock
pytest-ansible - v3.1.1

Published by github-actions[bot] over 1 year ago

Bugfixes

  • Add python 3.8 back (#119) @cidrblock

Note

This was never released to pypi.