Testing - Testing - Alfresco - Alfresco Digital Workspace - Alfresco/Alfresco-Digital-Workspace/4.2/Alfresco-Digital-Workspace/Alfresco-Digital-Workspace/Develop/Manage-Digital-Workspace/Testing - 4.2

Alfresco Digital Workspace

Platform
Alfresco
Product
Alfresco Digital Workspace
Release
4.2
ft:lastPublication
2026-05-06T17:28:51.867000
ft:locale
en-US
ArchiveStatus
Archived

Unit tests on the Content Application or the Digital Workspace are developed and executed using Karma - for more see Karma.

Unit tests are developed in files with extension specs.ts. Almost every component has a related specs.ts file stored directly in the same folder as the component. A unit test can look like:

it('...description...', () => {
    // Source code.
});