Good day to all, I just recently started using unit tests when developing on Qt, but a question appeared: How to add tests to a project without causing confusion?
I add tests through the context menu "File" -> "New File or Project ..." - "Other Project" -> "Qt Unit Test". As a result, I create a separate project with one test (I learned from an article in Habré that this is a Qt approach to testing). But as the project grows, a huge number of tests are added, which bring chaos into the folder structure. I tried to create a folder for tests in the current project and put all the tests there, but I don’t know how to run all the unit tests at once when compiling.
And still, could you throw tutorials on unit testing on Qt (preferably in Russian)?