Chapter 13. Viewing Results

A dialog is too intrusive to use as an interface for displaying test results. Over time we'd like to integrate the tests more thoroughly into the flow of programming, much as the compiler has gone from being a separate tool to becoming air—something vital that's always around. A step in the right direction is to display test results in a view. If we run a test successfully, the view should turn green. If a test fails, the view should turn red.

In this chapter we'll see

  • How to add a view extension

  • How to put a widget in a view

  • How to change the widget's color based on the updates it receives

Contributing a View

We want to add a view that will change colors based on the results of running tests. The views in Eclipse live in ...

Get Contributing to Eclipse: Principles, Patterns, and Plug-Ins now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.