This project is a graphical user interface for managing tests. It uses PySide6 for the user interface and interacts with a database for test data management.
test_gui/test_gui.py
: Contains the main logic for the user interface for managing tests.test_gui/ask_test_gui.py
: Contains the logic for the dialog box to select, duplicate, or create a new test.ui/test_gui.ui
: XML file defining the layout of the user interface.
The tests are located in the tests
directory and use pytest
for unit testing.
test_gui/tests/test_win_registry.py
: Tests for window registry management.test_gui/tests/test_models.py
: Tests for the data models used in the user interface.test_gui/tests/fake_db.py
: Contains utility functions to simulate a database for testing.
-
Clone the repository:
git clone <repository-url> cd test_gui
-
Install the dependencies:
pip install -r requirements.txt
To run the application, execute the test_gui.py file:
python test_gui.py
To run the tests, use pytest
:
pytest