cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Unit test and performance measurement
Unit test and performance measurement
Mar 5, 2022 at 6:51pm UTC
frek
(576)
Hi all,
1) Is there any (free) tool to measure code performance or time complexity of it on Visual Studio 2022, please?
2) Among GUnit and CPPUnit, which do you suggest for a C++ developer to get started using for unit testing?
Thanks in advance.
Mar 5, 2022 at 6:57pm UTC
leo2008
(147)
Everything readily available, you just need to search it before posting here,do your homework dude.
https://docs.microsoft.com/en-us/visualstudio/test/improve-code-quality
https://docs.microsoft.com/en-us/visualstudio/test/quickstart-create-a-load-test-project
https://docs.microsoft.com/en-us/visualstudio/test/walkthrough-create-and-run-a-load-test
https://docs.microsoft.com/en-us/visualstudio/test/writing-unit-tests-for-c-cpp
https://docs.microsoft.com/en-us/visualstudio/profiling/
https://docs.microsoft.com/en-us/visualstudio/test/how-to-use-google-test-for-cpp
https://docs.microsoft.com/en-us/visualstudio/test/how-to-use-microsoft-test-framework-for-cpp
Mar 6, 2022 at 2:31am UTC
wqking
(7)
For unit test, I really like CATCH2 and I use it in every my projects.
Topic archived. No new replies allowed.