| Item | Version |
|---|---|
| OS | Windows 10 |
| Toolchain | Windows Visual Studio (CMake Project) |
| C++ Standard | C++17 |
Name of solution: autotester Path to executable produced: Team02/Code02/build_win/x86-Release/src/autotester/autotester
-
Run and build using VS2019 in Release configuration.
-
Open the given Team02 folder in VS2019. Visual Studio automatically generates the CMake cache and detects targets specified in
CMakeLists.txt. -
Build All files in Visual Studio, with the x86-Release configuration.
-
After the executable have been built, navigate to the
Team02/Code02/testsdirectory and run the following command to run the autotester executable:../build_win/x86-Release/src/autotester/autotester Sample_source.txt Sample_queries.txt out.xml -
Similarly, in order to run our system tests, navigate to the
Team02/Tests02directory and run the following command:../Code02/build_win/x86-Release/src/autotester/autotester AmbiguousWhitespace_source.txt AmbiguousWhitespace_queries.txt AmbiguousWhitespace_out.xml. Repeat for all files in the folder.
Note: Our three SIMPLE programs that satisfy the system acceptance test case requirements are named FunctionalTest1_source.txt, FunctionalTest2_source.txt, and FunctionalTest3_source.txt.