assertj / assertj/assertj-swing

Log EDT events to facilitate debugging of EDT/threading problems

Open
#123 0 comments 0 reactions 0 assignees View on GitHub
documentation enhancement import from fest-swing Minor New Feature
Dominant language
Java
Stars
121
Forks
52
PR merge metrics
No merged PRs in 30d

Description

_Issue by **[Per Rovegård](http://jira.codehaus.org/secure/ViewProfile.jspa?name=provegard)** from Thu, 3 Feb 2011 08:13:11 -0600_
_Originally opened as http://jira.codehaus.org/browse/FEST-427_

---

When running our GUI test suites on Linux, using Xvnc and a window manager like fluxbox, fvwm2 or twm, we see a lot of odd threading problems as we push the robot delays down in order to speed up tests. We have verified that our code behaves well, so the problem seems to lie with the interaction between FEST and X11/the window manager.

It would be neat to be able to get a log of what is going on on the EDT in relation to the test thread to facilitate debugging of intermittent threading problems.

Ideally, it should be possible to turn on EDT logging for a test run, and then inspect the EDT log for those test cases that failed. In the EDT log, it should be possible to see timings and other relevant information. A cool thing would be if one could give a special ID to GuiActionRunner, and then be able to track that ID in the EDT log. Robot.waitForIdle could also have a special trackable ID.

---

votes (original issue): 0
watches (original issue): 0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.