Skip to content
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

Autograding Jupyter Slides #26

Open
hschafer opened this issue Aug 26, 2021 · 1 comment
Open

Autograding Jupyter Slides #26

hschafer opened this issue Aug 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@hschafer
Copy link
Collaborator

Not really sure what to do here since nbgrader might be too difficult to set up for students to run.

@hschafer hschafer added the enhancement New feature or request label Aug 28, 2021
@hschafer
Copy link
Collaborator Author

Likely the easiest option is to make a Python file in the directory called test.py or something and then replace the ### edTest(test_foo) ### with a call to test.foo(vars).

Pros

  • Fairly minimal editing since we already have test functions. Would really just need to change the notebooks themselves and make sure the tests do assertions rather than returning JSON.

Cons

  • Works well for Binder or local development, but not for Colab. Would we include the tests in the data download files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant