Use the alt+shift+z
keybinding to run your active Python file and diff expected versus actual program output:
Ensure that you have python3
on PATH, pointing to a valid Python 3 installation.
This extension contributes one setting, vscode-run-diff.expectedOutputFilePath
: Fully qualified path to a file containing expected program output.
If this setting is omitted, you will be prompted to select the file containing expected program output from the system file picker dialog on each run:
This extension honors the python.terminal.executeInFileDir
setting to set the current working directory to the directory containing the file to execute. This is helpful if the file you want to execute references sibling files.