python311Packages.pytest-textual-snapshot: init at 0.4.0
Snapshot testing for Textual applications https://github.com/Textualize/pytest-textual-snapshot
This commit is contained in:
parent
77e68f9b88
commit
731ef3d4c4
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, jinja2
|
||||
, pytest
|
||||
, rich
|
||||
, pythonOlder
|
||||
, syrupy
|
||||
, textual
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-textual-snapshot";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Textualize";
|
||||
repo = "pytest-textual-snapshot";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-XkXeyodRdwWqCP63Onx82Z3IbNLDDR/Lvaw8xUY7fAg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jinja2
|
||||
rich
|
||||
syrupy
|
||||
textual
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pytest_textual_snapshot"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Snapshot testing for Textual applications";
|
||||
homepage = "https://github.com/Textualize/pytest-textual-snapshot";
|
||||
changelog = "https://github.com/Textualize/pytest-textual-snapshot/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -11717,6 +11717,8 @@ self: super: with self; {
|
||||
|
||||
pytest-testmon = callPackage ../development/python-modules/pytest-testmon { };
|
||||
|
||||
pytest-textual-snapshot = callPackage ../development/python-modules/pytest-textual-snapshot { };
|
||||
|
||||
pytest-timeout = callPackage ../development/python-modules/pytest-timeout { };
|
||||
|
||||
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
|
||||
|
Loading…
Reference in New Issue
Block a user