flexxui / flexx

Write desktop and web apps in pure Python
http://flexx.readthedocs.io
BSD 2-Clause "Simplified" License
3.25k stars 257 forks source link

Testing flexx.ui #210

Open almarklein opened 8 years ago

almarklein commented 8 years ago

Related to #12 (testing visual output).

We need tests to verify that our widgets work correctly. But testing this kind of stuff is hard and can lead to tests that are painful to maintain.

What we want from these tests:

I think we might need a mix of automated and manual tests. Automated tests are great, because they prevent regressions and take no human time to run. They (can) suck because they have to be maintained. Manual tests can suffice for some cases, but people get lazy, and its unpractical to do manual tests on all browsers.

Some ideas:

(Marking for v0.6. I want to get some of this in v0.6, but some stuff might be for v0.7).

Korijn commented 8 years ago

Would it be helpful if I contribute our LiveServerThread code?

almarklein commented 8 years ago

Sure! :)