Databases Reference
In-Depth Information
Unit testing
Unfortunately, the SOA Suite doesn't provide any specific low-level unit testing of
individual components with the exception of XSL, although it may be emulated to an
extent, as described in the previous section, Component testing . JDeveloper may also
be used to run JUnit test cases, which can interact with low-level services. However,
this is done outside the scope of the SOA Suite.
JDeveloper does have an XSL test tool that may be used to validate XSL
transformations before deploying them as part of a Service Bus or BPEL deployment.
This is invoked by right-clicking on the xsl file in the application navigator and
selecting the Test option. This brings up the Test XSL Map dialog box that can be
used to specify or generate a source XML file and then generate the output XML file,
as shown in the following screenshot:
The default layout is to have two windows side-by-side with the input document on
the left and the output document on the right, with the stylesheet being displayed in
a separate window. The output document must be manually inspected to ensure that
it is correct.
 
Search WWH ::




Custom Search