-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 9.0.0-rc1
-
None
-
-
ad072db2b (master), f0eb8501f (master)
Hello,
I have a medium-sized QMake project with QTest unit tests. There has been a change in one class' business logic with a requirement to retain backwards compatibility, and the logic is chosen with a class property. To make sure the old version's logic is still tested, I copied the existing test class, renamed it and enhanced it to test for the new logic.
Now, obviously, some of the existing algorithms remained unchanged, and both test classes contain test cases with the same method names. Sometimes, when a single test from the new test class is executed using right click in "Tests" pane and choosing "Run This Test", a test method from the "old" test class with the same name is executed:
This behavior is not consistent and I feel like it happens more often when QtCreator is first started.
UPD: Seems like I can reproduce the issue every single time when I choose "Run test under cursor" from the class declaration:
- relates to
-
QTCREATORBUG-21093 Run Test Under Cursor runs all Tests with the same name regardless of the testcase
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-28496 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
446096,3 | AutoTest: Improve run and debug under cursor | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
672383,2 | AutoTest: Improve run and debug under cursor | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |