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

Make a test suite #38

Open
4 tasks
munkm opened this issue May 17, 2019 · 1 comment
Open
4 tasks

Make a test suite #38

munkm opened this issue May 17, 2019 · 1 comment

Comments

@munkm
Copy link
Member

munkm commented May 17, 2019

Right now the widgyts project is untested. We need to come up with a way to test at minimum some basic functionality of the package. I propose a suite that:

  • checks to see that the dashboard is generated if a call is made to generate it
  • checks to see what's returned to display if yt is loaded and not loaded
  • checks that trait linking is working properly if two fields are loaded (i.e. try to update a trait on one field and ensure it is the same in the other field's traits)
  • typechecking of widgyt objects

I'm not sure if we want to do rust + js + python testing or not? That seems like it's going to be fairly difficult so I think starting with what's synced to python seems like a good start and we can build out more from there.

@matthewturk
Copy link
Member

There are tests in the rust package, and it's independent of this, so I think we only need to test the widgets in whatever mechanism Jupyter widgets are generally tested.

Not sure we need to do any typechecking, but maybe I'm just not understanding.

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

2 participants