Closed smartProgramerM closed 1 year ago
dpkg is the SW package management system in Linux Debian-like distributions like Ubuntu. https://en.wikipedia.org/wiki/Dpkg Don't think it is a good idea to try it on Windows with Visual Studio. Also one of the later tasks is about converting the project into cmake project. So I think it would be better to start with cmake and then follow cmake installation of catch2.
Search Google: how to convert a visual studio solution to CMake?
at first, see these videos: How to set up 'make' on Windows cmake totorial
We look for an information aboat start using with catch2 , we found in this link (https://github.com/catchorg/Catch2/blob/devel/docs/tutorial.md) we saw there that we can use catch2 with cmake or without cmake, we chose to do it without cmake (Is it good? Is there a preference to use cmake?) We look for a link to download the package of catch2 and we found this link, (https://marketplace.visualstudio.com/items?itemName=JohnnyHendriks.ext01&ssr=false#overview) we found in stackoverflow instructions to start using with catch2 after the download (https://stackoverflow.com/questions/59645381/best-practices-for-unit-testing-with-catch2-in-visual-studio) we start act according to the instruction and we had a problem in the third step
include "path_to_catch2/catch.hpp"
we dont know the path_to_catch2 we found a link that explain how to find a location of installed package , (https://askubuntu.com/questions/423355/how-do-i-check-if-a-package-is-installed-on-my-server) We tried to do what is written there : //Show the location where the package is installed. The -S (capital S) stands for "search" sudo dpkg -S {VSTestAdapterCatch2 } sudo dpkg -S skype but we got that errore : M:> dpkg -S VSTestAdapterCatch2 'dpkg' is not recognized as an internal or external command, operable program or batch file. how yoperable program or batch file. we will be happy to get help thanks