Python/Tkinter and Testing

I would like to have my students use Teams for Education to build some basic Python/Tkinter GUI apps. I’m looking for ways to test those. I don’t see anyway to construct tests using Unit tests or Input/Output tests. Anyone have any suggestions or techniques on how to accomplish this?

Thanks for any guidance…

rivers

1 Like

Hey, @riversr54 welcome to the forums!

This is possible for Python. Under Tools on the right press Tests
image

Then set them up as you want. Unfortently you cant use I/O or unit tests for Tkinter GUI apps unless that’s a Python Library.

2 Likes