On Thu, Mar 19, 2009 at 9:50 AM, zpcspm <[email protected]> wrote: > Ideally, I would expect to see the node that contains the failing test > to be selected in the outline after 'run-unit-tests' finishes. > I would also like to see the body pane activated and the cursor placed > on this line: " if self.last.next().get() == pair.first.get > ():" (see the traceback above). > > Please consider this a feature request if you think that my idea makes > sense.
Sounds like it will be easy to implement with the new "Nav" tab in quicksearch.py plugin :-). - Provide plugin entry points (hooks) test_node_failure(c,p, traceback) and test_run_finish(c, p) - React to unit_test_failure by adding the position and the failing line to internal poslist - On unit_tests_finish, switch focus to nav bar and show the poslist -- Ville M. Vainio http://tinyurl.com/vainio --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
