Time for action – switching consoles

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:

  1. In JBoss Developer Studio, select the Console tab.
    Time for action – switching consoles
  2. Notice the icon to the right that looks like the Console tab's icon with a downward pointing arrow (Time for action – switching consoles).
  3. Click on that arrow and you will see there are two entries, one for the server and another for the test application:
    Time for action – switching consoles
  4. 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.123.120