| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0003533 | Doomseeker | [All Projects] Suggestion | public | 2018-10-05 07:35 | 2026-10-23 18:44 | ||||
| Reporter | WubTheCaptain | ||||||||
| Assigned To | Zalewa | ||||||||
| Priority | low | Severity | tweak | Reproducibility | have not tried | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | 1.6.0 | |||||||
| Summary | 0003533: Replace homebrew unit testing engine with Qt Test | ||||||||
| Description | Why maintain our own code for testing when we could use already established unit testing libraries... Let's use Qt Test, per Zalewa's suggestion. | ||||||||
| Additional Information | https://doc.qt.io/qt-5/qttest-index.html | ||||||||
| Attached Files |
| ||||||||
Relationships |
|||||||||||
|
|||||||||||
Notes |
|
|
Zalewa (developer) 2026-10-23 18:43 Last edited: 2026-10-23 18:44 |
Finally done through a series of commits tagged with this ticket number (0003533). `./doomseeker --tests` command was temporarily named "built-in tests", because the migration process was incrementative and I wanted to compare the results of the "old" and "new" tests. This command is now removed, as all tests are migrated to unit tests run by Qt Test engine and by CMake's CTest feature. Tests source code now exists outside of Doomseeker's source code in a dedicated `tests/` directory in the repo. Directory `src/core/tests` is removed. All existing "built-in" tests have been adapted to Qt Test engine. Wadseeker and plugins also have tests now. They were added in the process because I want to have proper unit testing for all Doomseeker code. It was not in scope to add full coverage for this code, I only limited myself to adding the simplest possible tests for Wadseeker and two selected game plugins: Chocolate Doom and Odamex. More tests for these can be added now, as now there is proper scaffold for that. All unit tests are run as a part of Github's Actions when new commits are pushed. |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2018-10-05 07:35 | WubTheCaptain | New Issue | |
| 2018-10-05 07:35 | WubTheCaptain | Relationship added | related to 0001741 |
| 2018-10-05 07:36 | WubTheCaptain | Assigned To | => Zalewa |
| 2018-10-05 07:36 | WubTheCaptain | Status | new => acknowledged |
| 2019-06-23 02:33 | WubTheCaptain | Relationship added | related to 0003595 |
| 2025-04-27 18:35 | Zalewa | Status | acknowledged => assigned |
| 2026-10-23 18:43 | Zalewa | Status | assigned => resolved |
| 2026-10-23 18:43 | Zalewa | Resolution | open => fixed |
| 2026-10-23 18:43 | Zalewa | Fixed in Version | => 1.6.0 |
| 2026-10-23 18:43 | Zalewa | Note Added: 0024785 | |
| 2026-10-23 18:44 | Zalewa | Note Edited: 0024785 | View Revisions |

