ipywidgets icon indicating copy to clipboard operation
ipywidgets copied to clipboard

Automated Testing of Widgets?

Open OliverEvans96 opened this issue 8 years ago • 3 comments

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

OliverEvans96 avatar Nov 10 '17 17:11 OliverEvans96

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!

jasongrout avatar Nov 10 '17 17:11 jasongrout

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 .

OliverEvans96 avatar Nov 10 '17 18:11 OliverEvans96

See https://github.com/jupyter-widgets/ipywidgets/issues/2934#issuecomment-1787216387

maartenbreddels avatar Oct 31 '23 13:10 maartenbreddels