Compare commits

...

2 Commits

Author SHA1 Message Date
Emily Bache
7e94dbd722
Merge pull request #664 from Sawalhy/docs-windows-texttest-improvements
docs: improve Windows setup instructions for TextTest with Python
2025-11-03 13:20:44 +00:00
Ahmed Sameh Elsawalhy
09005bc03a docs: improve Windows setup instructions for TextTest with Python
Fixes issue where newer versions of texttest produce .exe files instead of .py files. Updated start_texttest_from_python.bat to use texttestc.exe instead of texttestc.py. Also enhanced documentation for Windows users with recommendations for tools like Meld and fc.
2025-10-28 22:13:36 +03:00
3 changed files with 8 additions and 1 deletions

View File

@ -10,5 +10,5 @@ venv\Scripts\pip install texttest
if %ERRORLEVEL% GEQ 1 (
pause
) else (
venv\Scripts\texttestc.py -con %*
venv\Scripts\texttestc.exe -con %*
)

View File

@ -25,6 +25,11 @@ Download the installer as explained on [TextTest.org](http://www.texttest.org/ge
Windows may warn you that it doesn't trust this installer and be reluctant to download it. If you prefer not to continue with this, an alternative is to run TextTest via Python. First install Python then use the convenience script 'start_texttest_from_python.bat'.
For Windows users using start_texttest_from_python.bat, it's recommended to:
1. Install Meld (available at https://meldmerge.org) as your diff viewer
2. Set the text_diff_program to 'fc' in your config.gr file
3. Use Meld as your view_program for its simplicity and ease of use
## Interpreting Test Results
You should see output like this if the test passes:

View File

@ -3,6 +3,8 @@ full_name:Gilded Rose Refactoring Kata
# set your preferred editor and diff tool.
view_program:subl
diff_program:meld
#text_diff_program:fc
# Settings for the Python version
#executable:${TEXTTEST_HOME}/python/texttest_fixture.py