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

[jupyter] Allow running unit tests in a notebook #20677

Closed
cdoremus opened this issue Sep 25, 2023 · 2 comments
Closed

[jupyter] Allow running unit tests in a notebook #20677

cdoremus opened this issue Sep 25, 2023 · 2 comments
Assignees
Labels
deno jupyter Related to "deno jupyter" subcommand

Comments

@cdoremus
Copy link

This issue is a request to add the ability to run unit tests using Deno.test and the std/testing/bdd module in a Jupyter notebook.

I think that having a Jupyter notebook would aid the learning of new Deno concepts and coupling examples with tests would allow for learning reinforcement. In my case, I'd like to provide a notebook to go along with blog posts I write about Deno topics and include unit tests in those notebooks. I also think it would be nice to have a notebook link on Deno manual pages, so that readers could try out things they are learning with tests to reinforce their learning. In addition, I think that unit tests would aid data analysis to make sure that data manipulation routines are correct before they are run on real data.

@bartlomieju bartlomieju added enhancement deno jupyter Related to "deno jupyter" subcommand labels Sep 26, 2023
@bartlomieju
Copy link
Member

@nayeemrmn you had an idea how this could be done. Can you share in more detail what that would entail?

@nayeemrmn
Copy link
Collaborator

Closed by #20778.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deno jupyter Related to "deno jupyter" subcommand
Projects
None yet
Development

No branches or pull requests

3 participants