ipywidgets
ipywidgets copied to clipboard
Automated Testing of Widgets?
Hi all,
Not sure if this is the right place to ask, but I was just wondering if there's any common wisdom on automated testing of widgets? For example, ensuring that a button click triggers the correct function call? Has anyone tried ipywidgets with Selenium?
Thanks! Oliver
We've had various testing frameworks over the years, including end-to-end testing. However, we don't have a good end-to-end framework in place now. It's on (at least a mental) todo list. The place I'd probably start is looking at the jupyterlab testing (which IIRC starts up a Jupyter notebook server, so can do end-to-end testing).
If you come up with something good, we'd love to see it!
Thanks for the info!
On Fri, Nov 10, 2017, 12:50 PM Jason Grout [email protected] wrote:
We've had various testing frameworks over the years, including end-to-end testing. However, we don't have a good end-to-end framework in place now. It's on (at least a mental) todo list. The place I'd probably start is looking at the jupyterlab testing (which IIRC starts up a Jupyter notebook server, so can do end-to-end testing).
If you come up with something good, we'd love to see it!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jupyter-widgets/ipywidgets/issues/1814#issuecomment-343540829, or mute the thread https://github.com/notifications/unsubscribe-auth/APLYI5X0owxeaVk9O_I8eKomiop2EhXCks5s1IzYgaJpZM4QZ30Q .
See https://github.com/jupyter-widgets/ipywidgets/issues/2934#issuecomment-1787216387