@amir-qayyum-khan I just got the tests to run via pytest --pyargs edx_sga.tests.integration_tests, although 9 out of 48 failed because the "test_data" directory wasn't available (it isn't installed with edx_sga); it looks like that was just added 3 months ago, so those are probably new failures. You can run individual classes or test cases like:
pytest --pyargs edx_sga.tests.integration_tests::StaffGradedAssignmentXblockTests::test_replace_url_1_True
(ddt data parameters are added to the method name like this, if present).
https://github.com/edx/edx-platform/pull/17850#issuecomment-378295303
cc @pdpinch
Feedback from @jmbowman:
@amir-qayyum-khan I just got the tests to run via
pytest --pyargs edx_sga.tests.integration_tests, although 9 out of 48 failed because the "test_data" directory wasn't available (it isn't installed with edx_sga); it looks like that was just added 3 months ago, so those are probably new failures. You can run individual classes or test cases like:pytest --pyargs edx_sga.tests.integration_tests::StaffGradedAssignmentXblockTests::test_replace_url_1_True(ddt data parameters are added to the method name like this, if present).
https://github.com/edx/edx-platform/pull/17850#issuecomment-378295303
cc @pdpinch