-
Notifications
You must be signed in to change notification settings - Fork 183
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
[QA] API test WebDav: unused stepDefinitions related to download with range #9520
Comments
It was a bit surprising to me that there are not any test scenarios in the current test suite that download parts of a file by range of bytes. The tests originally came from oC10, and range-requests are covered there. I suppose that ocis supports downloading just a range of bytes of a file? Maybe there are some "range download" test scenarios left in the test suite. Someone can check and report if there is still any coverage of "range download", and what is covered. Then we can decide if we need to extend coverage, or just delete the unused test step code. |
@phil-davis, some of them are :
There are more. |
Other scenarios that i found related to download with range are :
|
Good - there is reasonable test coverage of range-downloads. I just noticed that the example unused step definition is a "Then" step. It must have been used in some unusual scenarios. So please go ahead and make a PR to delete the unused test step code. |
@phil-davis Oh now i got why the step definitions were unused. I will delete those unused step definitions related to range download and push it in the same PR. |
This issue has been fixed by this PR, #9519. |
Description
Step definitions related to download with range in webDav.php are unused in any scenarios and one of them is shown above.
Investigate whether to keep the step defintions and add test coverage for it or remove the unused step definitions.
Similar case was in this issue : #9345
The text was updated successfully, but these errors were encountered: