Testing overview

Prev Next

Your business platform should be well tested. These pages describe ways of making platform integration testing using the Nexus Link concept.

Types of tests

Tests should be written at the right places. Here is a suggestion.

Type of test Where Comment
Unit tests In the system/adapter Fast tests used in CI
Integration tests In the system/adapter Tests using e.g. database, file system resourcesor or make use of "Test Bench" mode for sending events and verify the contents of them (done with Nexus Business Events service via the business api)
System tests In the system/adapter Tests using the system from outside as a client, typically calling it's REST api
Platform integration tests Platform integration tests service A service specific for doing tests across the integrated systems

Most of the business logic should be tested in the systems' themselves. Then use platform integration tests to verify that all parts are connected and do what they are supposed to. There are a number of testing scenarios for the platform tests:

Platform integration tests

Capability contract testing

3 different types of platform integration tests