When the Application Testing component of NaturalONE has been installed, you can use the test functions supplied with NaturalONE. If this component has not yet been installed, use the Software AG Installer to install it.
The tests are run using the EntireX RPC mechanism. While many details are hidden, you must have some knowledge of EntireX RPC to run the tests.
To test subprograms and business services directly, and to create unit tests for subprograms and business services, a Natural RPC server is required. The Natural Development Server cannot be used in this context. If you are testing items in a project connected to the local Natural runtime environment, a special connection via RPC must be made.
As a business service cannot be tested in the local Natural runtime environment without a full local installation of Natural Business Services, the tests are simulated locally by calling the subprogram directly.
Note:
Some keywords like IN
,
OUT
or INOUT
have a
special meaning in EntireX and therefore cannot be used in subprograms as group
or parameter names when they are going to be tested. Please refer to
Rules for Coding Group and Parameter Names in section
Software AG IDL Editor of the EntireX
documentation for a full list of these keywords.