JUnit Support
JUnit is a key open source technology for testing. There is
improved and expanded support for JUnit in TPTP 4.0.
- JUnit Test Wizard
- A
JUnit Test wizard can be used to create a new JUnit test manually.
- Importing a JUnit Test
- You can import an existing JUnit test
without any modification.
- Editing a JUnit Test
- You have the choice of using a graphical
editor to define JUnit test behavior, or directly defining test behavior
in the source code. The model and the code are kept in
synchronization. If you modify the model, the changes are
propagated to the code, and any changes made to the code previously are
preserved.
-
- Analyzing a JUnit Test
- The Test Log allows you to quickly analyze
failures.
TPTP 4.0 can scale to handle large data volumes and process large number of transactions. EMF models for
Common Base Event logs can be stored in a database as an alternate persistence mechanism, in
addition to the existing flat XML file mechanism. This feature enables large-scale log analysis to take
place. The workbench startup time and memory footprint are reduced.
New or enhanced APIs with
full documentation have been added to Charting service, Agent Controller
and Choreography service. As a result, TPTP 4.0 is a better platform
for adoption in terms of extensibility and reference implementation.
Improved usability and sophisticated filtering capabilities have
been added to the performance and monitoring tools to enable users to
isolate problems more quickly. Filters can be applied at each of the
data collection, importing and viewing/analysis phases so users can
focus on the most relevant data and isolate problems quickly and
easily. New filters are added to log views, interaction views and
profiling views. Users can, for example, create filters that
limit the displayed log records according to severity or other Common
Base Event property values. Profiling filters are especially useful
when speed and efficiency is critical, allowing only the relevant
profiling data to be collected with appropriate filters.
-
TPTP 4.0 offers a Probekit editor that can be used to create and
validate the probe file content.
The Probekit editor provides code assist and error validation, and an
integrated Java Snippet which offers java code assist for the
java fragments.
A new view available in TPTP 4.0 is the Method Invocation
Details view. This view can be used to analyze method invocation
statistics, and display the methods invoked by, as well as methods
invoking the selected method.
The view is available when collecting Execution History - Full
Graphical Detail and can be opened from a selected method in any of the
profiling views.
The "next generation"
agent controller and associated client and agent API are provided as
technology preview in TPTP 4.0 Release. The new agent controller will be
fully integrated with TPTP tools in the 4.1 release. Major features of
the new agent controller are:
- Pluggable message pipeline for supporting multiple protocols and
compression
- Bi-directional data channel and file transfer
- Allow multiple instances of agent controller