As an result of watching Gary Bernhardt's talk at PyCon, http://pyvideo.org/video/631/fast-test-slow-test, I have been looking for ways to speed up Leo's unit testing.
There is an easy way: run all tests externally, except for those tests in, say, @local-tests trees. I haven't implemented this yet, but it's coming soon. This will eliminate the cumbersome distinction between running tests locally/externally. External unit tests really should be the default, for two reasons: 1. They use a null Gui, so there is no overhead involved in updating/ redrawing the screen. This makes a big difference. 2. External unit tests always used the latest saved code. With this scheme in place, there will only be three unit-testing commands, instead of the present six: run-all-unit-tests, run- selected-unit-tests, and run-marked-unit tests. Unlike at present, I'll be able to use the same set of key bindings in all my files--a big improvement. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
