This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 150480 - Autotest window doesn't clear on re-run
Summary: Autotest window doesn't clear on re-run
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Testing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 03:09 UTC by alexpooley
Modified: 2011-01-28 20:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexpooley 2008-10-17 03:09:58 UTC
I develop Rails code following a BDD methodology. I use Netbeans with autotest to help improve my workflow. When a test
fails, I use keyboard shortcuts to navigate to the last error in the source via the autotest window.

When the output window is clear this works well as the window auto scrolls to the bottom of the test results, and I can
easily navigate to the most recent failing test.

However, an incredibly annoying issue occurs that after navigating back to the source via the autotest output window and
re-running autotest by saving the updated source, the autotest window sticks to the caret in the output window, and as a
result 1) the output window doesn't auto scroll to the bottom of the output window so I can't see the latest failing
test; 2) the caret is left a long way from the most recent test error so I have to pass through every single error in
order to get to the most recent error.

I think the easiest and most sensible solution is to wipe the output window on each run of autotest. Failing that,
shifting the caret to the end of the display on update would work too I think.
Comment 1 Erno Mononen 2008-10-17 14:12:15 UTC
Reproduced, we should indeed clear the window. Thanks for catching this.