Test coverage improvements - #6499
Conversation
|
Thanks for the pull request, @e-kolpakov! It looks like you're a member of a company that does contract work for edX. If you're doing this work as part of a paid contract with edX, you should talk to edX about who will review this pull request. If this work is not part of a paid contract with edX, then you should ensure that there is an OSPR issue to track this work in JIRA, so that we don't lose track of your pull request. To automatically create an OSPR issue for this pull request, just visit this link: http://openedx-webhooks.herokuapp.com/github/process_pr?number=6499&repo=edx%2Fedx-platform |
…m modulestore/tests/test_libraries
357cf5d to
48c25b3
Compare
48c25b3 to
973bde1
Compare
|
Last build already have failed Previous build: https://jenkins.testeng.edx.org/job/edx-all-tests-auto-pr/21194/ So, that |
There was a problem hiding this comment.
Nit: I would prefer to name this new base class LibraryContentTest since I just had to make the same change in https://github.com/edx/edx-platform/pull/6492/files#diff-6 and some of the new tests don't have much to do with the "container" nature of LibraryContent block.
I would also prefer that in the other new test class below we use the name "LibraryContent" rather than "LibraryContainer" since content is the name of the block that we're testing, and "container" is a different (but related) concept in Studio.
|
@cahrens @chrisndodge Would you mind reviewing this PR? It's the result of @e-kolpakov pass on improving the coverage - it doesn't alter functionality so it should be a straightforward review. The failing build is due to a single flaky bok-choy test, as noted by Eugny above. |
|
Build is passing now :) |
|
Since these are only test additions/changes, I am comfortable with it only being reviewed by the Solutions team. Thank you for adding additional coverage! |
|
@cahrens Great, thank you! |
|
@antoviaque @e-kolpakov I went through this. It's a bit out of my domain expertise and I don't think I have any feedback to this and I don't think anyone else on the Solutions Team would have the background as well. Like @cahrens I don't see risk in merging in additional tests (always a good thing). It'd be fine merge in as-is or if you want another opinion, I'd suggest @dmitchell. EDIT: Plus I see this is a merge to another feature branch and not master. |
|
@chrisndodge Yes, it just adds additional tests so this shouldn't be able to break anything, I'll merge. Thank you for having gone through this! |
…ncrease Test coverage improvements
Background: This PR contains the LibraryContent XBlock, which allows to display library content in a course.
JIRA ticket: Content Libraries MVP
Discussions: Architecture discussed extensively on the wiki and in meetings, then the revised proposal was presented to the Arch Council on Oct. 21 and given thumbs up.
Dependencies: none
Partner information: 3rd party-hosted open edX instance, for an edX solutions client.