The pytest framework makes it easy to write small, readable tests, and can scale
to support complex functional testing for applications and libraries.
- Pytest-html is a plugin for pytest that generates a HTML report for test
results.
- Pytest-django allows us to test Django project/applications with the pytest
testing tool.
- Pytest-env is a pytest plugin that enables us to set environment variables in
a pytest.ini or pyproject.toml file
- Pytest-metadata is a plugin for pytest that provides access to test session
metadata, required by pytest-html plugin
to provides metadata information in the HTML report like below:
Python 3.10.12
Platform Linux-6.2.0-35-generic-x86_64-with-glibc2.35
Packages:
- pytest: 7.4.2
- pluggy: 1.3.0
Plugins :
- django: 4.5.2
- metadata: 3.0.0
- order: 1.1.0
- html: 4.0.2
- env: 1.1.0
Signed-off-by: Alassane Yattara <[email protected]>
---
toaster-requirements.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/toaster-requirements.txt b/toaster-requirements.txt
index d8e48b7f..19bf6fd2 100644
--- a/toaster-requirements.txt
+++ b/toaster-requirements.txt
@@ -2,3 +2,8 @@ Django>4.2,<4.3
beautifulsoup4>=4.4.0
pytz
django-log-viewer==1.1.7
+pytest==7.4.2
+pytest-django==4.5.2
+pytest-env==1.1.0
+pytest-html==4.0.2
+pytest-metadata==3.0.0
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5927): https://lists.yoctoproject.org/g/toaster/message/5927
Mute This Topic: https://lists.yoctoproject.org/mt/102302785/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-