S++Core systems, human-reviewable

Product / Testing and debugging

Tests in business language. Traces in S++ names.

Quality is built into the toolchain: unit and functional tests, difftest against the legacy system, generated tests and mutation analysis, and debugging that speaks the language of the business source.

.spptest

Tests business staff can read.

A .spptest file states what a service must do in business terms. Conservation is checked in every test, and cross-domain fakes take one line.

  • White box: unit tests per atomic service with S++ line and branch coverage.
  • Black box: functional tests, interface tests over real HTTP, and integration tests across deployments.

SPP test: .spptest

unit test "Zero stock receipt is rejected" for checkStockReceiptQuantity {
    given stockReceiptAgreement { quantity = 0 }
    expect rejected INVALID_QUANTITY;
}

Difftest

The old system is the answer key.

Difftest runs the legacy program and the converted S++ on the same cases. Every difference is classified: intentional, converter defect, approved, or environment limit. Accepted difftests convert to .spptest, so a customer’s tests no longer depend on the old system.

Generated tests

Coverage without writing every case.

By branch and reject code

The SDK generates tests by branch, reject code and quantum boundary.

Interface tests

OpenAPI interface tests exercise services over real HTTP.

Mutation analysis

Mutation analysis shows whether the suite would notice a wrong rule.

Debugging

No print statements needed.

Structured traces

Traces use S++ names: service, branch, failed require, balances before and after, and query keys.

S++ stack traces and breakpoints

Stack traces name S++ code. Breakpoints are set on .spp files through JSR-45.

Trace diff

Traces are comparable across deployments and against the legacy system. Trace diff finds the first difference.

Same tests everywhere

The same tests run on every deployment (local, distributed, QService) and must agree.

Talk to us about your core systems.

Evaluate S++ on a real business flow, or ask how verifiable conversion would work for your legacy estate.