-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions regarding Python examples #45
Comments
Thank you Claus. Did you also check the with_tests branch and compare both versions? |
Good point. Thank you for bringing that up. No, I did not check. Re: Data Files for texttest_fixture.py missing?The required files exist in the |
Yes the idea of two branches is usually this:
I agree both versions could be combined in a reasonable way in |
Thank you the context. I will prepare a PR based on how I understand what I see and what you said and then we continue from there. |
Writing to let you know that I did not forget about this issues and that I do not have time for it now but I will get back to it in February. |
I really like this kata - thank you for all the effort that went into it and sharing it publicly!
I have a few questions regarding the Python examples.
What is the intended difference between python/ and python_pytest/?
To me, the distinction is not clear.
For me, python_pytest/ suggest that this version uses
pytest
whereas the other usesunittest
.However, both examples use
pytest
.The code base is almost identical in both cases, except for the difference in the README and the additional textest_fixture.py in the python_pytest/ version.
Data Files for texttest_fixture.py missing?
texttest_fixture.py loads catalog.csv (and other files).
Is a user intended to create these file by themselves or were they maybe forgotten?
How to run tests in python_pytest/?
With the current layout/configuration, the tests in python_pytest/ cannot be run by simply invoking
$ pytest
, since the required modules cannot be imported.At the moment, the README suggests use pytest to run tests but it may no be immediately clear how to do that.
There are different ways to address this issue:
If you share your intention with me, I am happy to provide a PR.
Personally, I would kind of merge the two folders.
The text was updated successfully, but these errors were encountered: