Under the pygments/test/examplefiles directory, we have a lot of different input files. For testing our first issue I've run the following command on the terminal from inside the root directory of the project.
this will generate the output with the tokens for the input in the same directory as the input file.
Just change the path to the input file in the command to run a different file.
Under the pygments/test/examplefiles directory, we have a lot of different input files. For testing our first issue I've run the following command on the terminal from inside the root directory of the project.
pytest --update-goldens tests\examplefiles\<language>\<input code file>
example:
pytest --update-goldens tests\examplefiles\cpp\example.cpp
this will generate the output with the tokens for the input in the same directory as the input file. Just change the path to the input file in the command to run a different file.