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

Add an example about testing #45

Open
jtpio opened this issue Dec 1, 2019 · 2 comments
Open

Add an example about testing #45

jtpio opened this issue Dec 1, 2019 · 2 comments

Comments

@jtpio
Copy link
Member

jtpio commented Dec 1, 2019

Something that comes back often is the question of testing. So there could be an example about this that would cover several points such as:

  • setting up jest
  • reusing helpers from @jupyterlab/testutils
  • spawning kernels and launching the tests with the run-test.py helper

There is already some documentation about this in:

https://jupyterlab.readthedocs.io/en/stable/developer/extension_dev.html#testing-your-extension

And we could draw some inspiration from the @jupyterlab/jupyterlab-git and @jupyterlab/debugger extensions.

@jtpio
Copy link
Member Author

jtpio commented Apr 23, 2021

An example using galata would be really nice: https://github.com/jupyterlab/galata

@jtpio jtpio mentioned this issue Jul 20, 2021
5 tasks
@jtpio
Copy link
Member Author

jtpio commented Oct 7, 2022

Hopefully this example should now be easier to make, since some testing tooling and infrastructure is now available in the cookiecutter: jupyterlab/extension-cookiecutter-ts#207

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

No branches or pull requests

1 participant