hi,
New to using exercism on windows. (Getting daughter into python she is on windows). Instructions seem to be powershell only, but i can only get the pytest and submit command to reun in a cmd window.
in VScode shell, that is ‘PS’ I presume powershell, but I get this error 'PS C:\Users\person\Exercism\python\hello-world> py -m pytest -o markers=task {hello_world_test.py}
py.exe : A value that is not valid (markers=task) was specified for the outputFormat parameter. Valid values are Text and Xml.
At line:1 char:1
Welcome to the Exercism forums! Thanks for posting this.
Both cmd and ps should work on windows, but I think you may have misunderstood the directions. I think the {} around hello_world_test.py shouldn’t be there.
And see if that works? The {} in the instructions are meant to denote a placeholder where you replace everything (including the brackets) with the values from your machine. So, for example, on my machine:
I had this same conversation on discord get-help before with a new learner, they also thought the {} was required
If you want I can give a try and submit a PR to fix it?
Also I saw your conversation on discord about potentially switching to pytest for everything eventually, whenever that happen please let me know so I can learn and help contribute.
Apologies for the delay. I’ve reviewed and made suggestions on your PR. Thanks for submitting it!
I will certainly let you know. But I also want to set expectations: I am in the middle of bug fixing and upgrade work, which will take a bit of time. I then have work to flesh out the Syllabus a bit further in anticipation of the bootcamp students wanting to practice.
Because changing to Pytest-only will mean a major refactor of the test runner in addition to a re-write of the generator and test templates (and a huge amount of testing), it might not get done until the latter half of next year - if at all. Still thinking through what would be best/easiest/most pythonic.