You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one enables sequential test runs, as far as my understanding goes, the test-repo directory structure changes (sequential and behavorial are separated) and therefore one is not able to disable sequential test runs later on.
We downloaded an exercise with enabled sequential test runs and when we uploaded the .zip file we were able to deselect sequential test runs.
So either disable the sequential test run selection box while importing an exercise from uploading a zip file or allow enabling/disabling sequential testruns by restructuring the test-repo (put all test cases in the same test/ folder, or vice versa move MethodTest.java etc. in a seperate package).
To Reproduce
Create Test Exercise > Choose Title, short name and package name, enable Sequential Test Runs, set points to 1
Click on Generate
Navigate to Instructor view of the exercise
Click on Download Exercise
Navigate to Instructor view of the course
Click on Import programming Exercise > From file > select downloaded exercise
Click on Upload Programming Exercise for Import
Alter Title and short name, disable Sequential Test Runs
Click on Import
Expected behavior
I can't (de)select Sequential Test Runs
Screenshots
No response
Which version of Artemis are you seeing the problem on?
7.4.3
What browsers are you seeing the problem on?
Firefox
Additional context
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
(I belive) that this is on purpose. Similar to how you can activate or deactive SCA during import, this can help if the feature was unintentionally (de)activated for the initial exercise. During the import this only affects the created buld plans, but not the structure in the repositories. While you are correct that this can lead to an inconsistent exercise setup, this can also fix such setup if the instructor removed the sequential testing part and now wants to update the exercise configuration.
I can see how this leads to confusion any potentially wrong configurations. Maybe we can find a way to make the effect more clear.
Describe the bug
If one enables sequential test runs, as far as my understanding goes, the test-repo directory structure changes (sequential and behavorial are separated) and therefore one is not able to disable sequential test runs later on.
We downloaded an exercise with enabled sequential test runs and when we uploaded the .zip file we were able to deselect sequential test runs.
So either disable the sequential test run selection box while importing an exercise from uploading a zip file or allow enabling/disabling sequential testruns by restructuring the test-repo (put all test cases in the same test/ folder, or vice versa move MethodTest.java etc. in a seperate package).
To Reproduce
Expected behavior
I can't (de)select Sequential Test Runs
Screenshots
No response
Which version of Artemis are you seeing the problem on?
7.4.3
What browsers are you seeing the problem on?
Firefox
Additional context
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: