-
Notifications
You must be signed in to change notification settings - Fork 4
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
README.md: Add details on how the tests are run #20
README.md: Add details on how the tests are run #20
Conversation
d449d16
to
2689238
Compare
1b4b5f5
to
e76b2ce
Compare
e76b2ce
to
f233367
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine, but see style comments
cf49681
to
7b785fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for this PR! overall a great effort to enhance the docs! A few detail suggestions though.
7b785fe
to
8144ae6
Compare
Hello Shwetha, Thanks for expanding on this README. This will help new users start out with the sit-test-cases repo and has been required for a while. My comments are with respect to the sit-environment. While it started out as test cases to be run against the test environment which was setup with sit-environment, we do not have any reason to limit testing to that environment. sit-test-cases is designed to work against any SMB server and will work equally well against a locally running samba server. I think instead of describing how to setup a sit-environment test infrastructure which requires a lot of resources, we should aim for the easiest option and describe testing against a local SMB server without going into much detail about setting up a Samba server. ie. we should start out with asking the user to have a working SMB server to test against and then proceed to setting up the test-info.yml and running the tests. We can provide more information for sit-test-cases on sit-environment by either modifying an existing doc or creating a new one in https://github.com/samba-in-kubernetes/sit-environment/tree/main/docs |
I was just wondering if it was good idea to add another option of directly using these tests on already created samba setup in sit-test-cases README.md itself? I felt it was necessary to add information in this README.md file because in sit-environment, we are already indicating about sit-test-cases repo. As sit-test-cases is an individual repo, don't you think adding complete detail here makes it much useful? Please let me know if you think otherwise @spuiuk |
I agree that it is important to add information on how to use the repository. Since you are new to this project, your perspective on how best to present this is welcome. I am assuming that users of this project will already have a SMB server available and would like to run their tests on them. I think it would be very useful if we just get to the point and help users get up and running with sit-test-cases. We can add a doc on setting up a basic samba server setup for a devel environment for users who want to contribute to the sit-test-cases. |
Thanks again for your effort to make out docs better and more useful! while it is perfectly fine and appropriate to mention https://github.com/samba-in-kubernetes/sit-environment, I think this doc and this repo are not the right places to explain how sit-environment works which was one of the main points of my previous review. information about sit-environment should go into the sit-environment repo's docs. including details about sit-environment in this README doc does not make it more useful, to directly answer your question from the previous comment. @Shwetha-Acharya , I don't want to sound off-putting. I am sorry if I do! your contribution to improve this doc with first hand experience from trying it out is highly appreciated! Please continue. 😄 |
69d31c3
to
62fef0f
Compare
74686e8
to
961fc15
Compare
961fc15
to
dcf1be0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine, but require finial polish.
5ee5144
to
46b108a
Compare
46b108a
to
3c34dc0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. Thanks for updating the README file.
we have a new failure which doesn't seem to have been caused by the change in this PR but we need to fix this ASAP. From the failed xfs test.
|
Just checked the CI run from last night. This passed successfully. Not sure what is causing this new failure. |
/retest all |
Shwetha, It looks like your patch is deleting the empty file conftest.py. This is causing issues with the tox running the test and it doesn't seem to accept the PYTHONPATH variable. Can you please fix this as the test is failing. I get past this problem on my local test machine by simply creating an empty file conftest.py. |
Information on working of sit-test-cases and the steps to manually run the individual tests of sit-test-cases are missing. Adding this data helps new contributers to quickly dive into development. So added details and quick steps to start with individual tests. Fixes: samba-in-kubernetes#19 Signed-off-by: Shwetha K Acharya <Shwetha.K.Acharya@ibm.com>
3c34dc0
to
79d47ae
Compare
Done! |
@anoopcs9 @obnoxxx @synarete @phlogistonjohn can you please take one more look at this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me.
Fixes: #19