-
Notifications
You must be signed in to change notification settings - Fork 599
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
unit test: correct answer should pass associated answer tests #50
Comments
That's a great idea. I'm starting to think we should use a two-pronged On Sat, Jan 18, 2014 at 6:52 PM, William R Bauer
Nicholas A. Carchedi |
Thinking the same. I'm developing a package to test a course, so automatic testing and CI would be possible for instructors. Here's my repo: https://github.com/ChihChengLiang/swirlitest, forks are welcomed! The package can run through all the cmd_questions, unit testing is not yet achieved at the moment. However, it can still help to teaching assistants to scan bugs of a course quickly on different OS environments. I'm working on testing the official courses, the package may be proved useful when it can test all official courses |
Very cool!! @seankross, you should take a look. Could be On Thursday, August 27, 2015, Chih Cheng Liang [email protected]
|
@ChihChengLiang this is great! Please keep us up to date with your developments on this project. I'd be very interested in folding this into swirlify. |
Thank @ncarchedi and @seankross ! Looks like I'm on the right track. Will keep you updated, and also please let me know what's the most wanted feature if any. |
@ChihChengLiang is this code/ these features incorporated into swirldev/swirlify#15? |
Exactly! all codes and features are included in swirldev/swirlify#15 |
In that case can I close this issue? |
Sure, feel free to do it. Sorry for not referring the PR to this issue before. |
Gina's idea, though I'm posting it.
If skip() is invoked, swirl acts for the user using a module's CorrectAnswer column. The correct answer is then subjected to tests, just as the user's answer would have been. If the correct answer fails to pass its own tests, e.g., because of a typo, the question will be impossible to skip.
Unit tests could insure that a module's correct answers pass their associated tests.
The text was updated successfully, but these errors were encountered: