Move recommender XBlock tests to openedx/tests/external - #9494
Conversation
895dfc8 to
3b492de
Compare
|
@jzoldak @cpennington @pmitros Opinions? |
|
I hate the name external. External code to edX? All of our tests rely on libraries external to edx-platform (Django, numpy, etc.). XBlocks in external repositories? That should be all of them -- video player, capa problem, etc., included. Requiring external dependencies? We have a lot of external dependencies. Forums. Insights. Etc. As we move towards a more service-oriented architecture, this set will grow. Many of these are fundamental. The specific XBlocks which are here are no different than the XBlocks in the edx-platform repo, with the exception that they started life somewhere else. edx-platform has many immature and prototype XBlocks. All the XBlocks should move into their own repos. What we would want to convey here -- in the long term -- is that these are XBlock/edx-platform integration tests. What we would want to convey here in the short term is that these are XBlock tests. |
|
@pmitros I meant "external" as in, "outside this repo." We've talked about this a few times; I'm not sure why it bothers you so much. |
|
|
I'm not sure where we are going with this. In face-to-face discussions, you seemed sympathetic to the idea that people were uncomfortable with the idea that these tests relied on primary code in another repo, and that that other repo would be a more natural place for these tests to live, IF we could run these tests from there as part of the edx-platform testing. |
|
Ah, ok. I do like openedx/tests/foo. I was wondering what else would go under openedx/tests, and realize that openedx/tests/integration is likely something that we will want to add later. But as we have discussed, these really are not integration tests. They are tests that should live in the other repos but cannot at this time because we don't have the ability to test them there. Maybe we can come to consensus on another word vs. "external" then? A word that signals both "other repo" and "temporary location"? |
|
@nedbat I'm opposed to the word I'd like something specific, such as
I'm tempted to point out the irony here. |
3b492de to
2b2e098
Compare
|
Piotr and I discussed this, and I've used the name openedx/tests/xblock_integration. |
|
👍 |
|
SGTM 👍 |
|
👍 |
|
Wait. I take that back. 👎 until there is a README in the directory explaining what it is. |
I want to make clear that these tests rely on XBlocks in other repos, and that ideally in time we would move these tests into the XBlock repo.
2b2e098 to
a16c951
Compare
|
I've added a docstring to the |
|
👍 |
Move recommender XBlock tests to openedx/tests/external
I want to make clear that these tests rely on external XBlocks, and that
ideally in time we would move these tests into the XBlock repo.