When you are running the tests, you might notice that the console in JBoss Developer Studio sometimes will not show the output, but rather show the server's log output. This is due to the fact that JBoss Developer Studio displays both the server's log and the test output in one console window, showing only one at a time. This might confuse the reader to think that the test did not run. Here is a simple tip on how to switch between console outputs:
In JBoss Developer Studio, select the Console tab.
Notice the icon to the right that looks like the Console tab's icon with a downward pointing arrow ().
Click on that arrow and you will see there are two entries, one for the server and another for the test application:
Click on the required one and the Console tab will display the selected one's output.
What just happened?
We looked at the different consoles and discovered how to switch between them.