Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568704
en ru br
ALT Linux repos
S:1.5.1-alt1

Group :: Development/Python3
RPM: python3-module-pytest-regtest

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname pytest-regtest

Name: python3-module-%oname
Version: 1.5.1
Release: alt1

Summary: pytest plugin for regression tests
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/pytest-regtest

Source0: %oname-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
BuildRequires: python3-module-pytest

%py3_provides pytest_regtest

%description
pytest-regtest is a pytest-plugin for implementing regression tests. Compared
to functional testing a regression test does not test if software produces
correct results, instead a regression test checks if software behaves the same
way as it did before introduced changes.

%prep
%setup -q -n %{oname}-%{version}

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run_pytest -v tests/test_plugin.py

%files
%doc PKG-INFO
%python3_sitelibdir/__pycache__/pytest_regtest.*
%python3_sitelibdir/pytest_regtest-%version.dist-info
%python3_sitelibdir/pytest_regtest.py

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin