aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.TestAdapter
Commit message (Collapse)AuthorAgeFilesLines
* Correct style errors in TestAdapterAli Can Demiralp2025-07-143-3/+3
| | | | | Change-Id: Ia6642688c178fe8555d724c56188526442d92b0e Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Update copyright comments to 2025Ali Demiralp2025-03-1817-71/+39
| | | | | Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Fix compile errors and broken auto-testsKarsten Heimrich2025-02-201-8/+8
| | | | | | | | | | | Instead of trying to resolve the assembly ourselves, let the build process generate the binding redirects. This should address the sporadic 'System.Memory' issue we've encountered before, which now affects every test depending on this DLL. Change-Id: I215887abfe5132faf788ffae09a371c3346c27d2 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Update VS2022 support target to 17.8 LTSKarsten Heimrich2025-02-141-8/+8
| | | | | Change-Id: I05330a65b9a8fb45c2bc40df20133eed30392f25 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add settings value to enable/disable the test adapterKarsten Heimrich2024-12-035-0/+31
| | | | | | Change-Id: If867753c4560ad6e1bfbbb834b54d4a898957a33 Reviewed-by: Miguel Costa <miguel.costa@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Refine and standardize log messages for improved clarity and consistencyKarsten Heimrich2024-12-036-53/+70
| | | | | Change-Id: Iefb4cdc3da22b13cb5961d5c8226af75eec93809 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Update conditional compilation symbols for debuggingKarsten Heimrich2024-12-032-4/+4
| | | | | | | | | | This change provides more specific debugging symbols for different parts of the test adapter: - Replace _DEBUG with _DEBUG_SETTINGS in QtTestSettings.cs - Replace _DEBUG with _DEBUG_DISCOVERER in QtTestDiscoverer.cs Change-Id: Ib6beec5bd60057dde7d7ecdb143cfec76941d96e Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Limit test discovery to Qt Test framework binaries onlyKarsten Heimrich2024-12-031-12/+34
| | | | | | | | | | | | | | | Since there is no real way to distinguish the Qt binaries from other binaries, run the -help command first and try to find the very first string it usually outputs in the returned stream. Make sure the parsed output of the -datatags command is a valid C++ identifier: - It must start with a letter (a-z, A-Z) or an underscore (_). - Subsequent characters can be letters, digits (0-9), or underscores. Fixes: QTVSADDINBUG-1261 Change-Id: I47fa547266eec69521d64efe1b56f3bbb6b41d85 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Remove another unfortunate dependency 'System.Collections.Immutable'Karsten Heimrich2024-11-251-3/+1
| | | | | | | | | | It appears that vstest.exe is running the test adapters and not Visual Studio, so dependencies are resolved differently and some are not found at all. Fixes: QTVSADDINBUG-1258 Change-Id: I1d9c9aa6671bf75ef5736ade548bcc905726e954 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Replace PEReader with native PE header parsingKarsten Heimrich2024-11-211-6/+150
| | | | | | | | | Removed dependency on System.Reflection.Metadata and PEReader. Implemented manual parsing of PE headers using native structures. Fixes: QTVSADDINBUG-1258 Change-Id: I079c07ce0582740de236c301628c37c24e50a23e Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Store settings and versions per root suffixAli Can Demiralp2024-07-292-5/+4
| | | | | | | | | The settings and registered versions are no longer global across instances of Visual Studio, and instead are defined per root suffix. Fixes: QTVSADDINBUG-1088 Change-Id: I566ed01d76f5c00b37f86712be300c9c8751125e Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Implement Visual Studio test adapter for QtTest frameworkKarsten Heimrich2024-07-2419-0/+1859
Task-number: QTVSADDINBUG-24 Change-Id: I33ff1c57ea95f11fb656a3786625c1fe56065056 Reviewed-by: Miguel Costa <miguel.costa@qt.io>