Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Auszug
hiddentrue

Nuclos business tests: Groovy, Dev, development mode, savepoint, rollback, generate, INSERT, UPDATE, DELETE, 4.11.

globe with meridians Language: Deutsch · English

light bulb Business tests

Test business logic automatically – Groovy scripts in the web client, transaction rollback and automatic generation.

Status
colourGreen
titleKonzept
Status
colourBlue
titleDeveloper
Status
colourGreen
titleUpdated: Jul 2026
Status
colourGrey
titleapplies to Nuclos 4.2026.x

Panel
bgColor#F4F5F7

On this page

Inhalt
maxLevel2
minLevel2

For testing business logic there is a framework for business tests (first version from Nuclos 4.11). It is available in the web client under Dev → Business tests when the server runs in development mode.

Concept

  • Tests are Groovy scripts – editable directly in the web client or, like server rules, in an IDE.
  • Tests can be generated automatically for all BOs and then adapted manually.
Info
titleNo data changes

Transaction rollback: before each test script a savepoint is created and rolled back to after the test. Thus tests do not change data and run independently of each other.

Generating tests

Via Generate tests, INSERT, UPDATE and DELETE tests (among others) are created for all BOs assigned to a nuclet.

Details on API and operation: API and Operation.

Related pages

gear API


Script API.

Open →

gear Operation


Web client.

Open →