Radius functional test naming conventions

July 13, 2026 ยท View on GitHub

Today, the functional tests use some abbreviations to make sure that the resource labels will not exceed 63 characters (application + resource name). Here is a list of some of the abbreviations and patterns:

KeywordAbbreviation
applicationapp
environmentenv
containerctnr
gatewaygtwy
genericgnrc
servicebussb
secretstorescs
statestorests
tablestoragets
extenderextr
databasedb
mongodbmdb
rabbitmqrmq
redisrds
frontendfront
backendback
usersecretsus

Patterns

Prefixes

In any new test, the resources should be prefixed with the test type:

corerp-resources-gateway.bicep

resource gateway 'Applications.Core/gateways@2023-10-01-preview' = {
  name: 'gtwy-gtwy'
  ...
}

resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
  name: 'gtwy-front-ctnr'
  ...
}

This specifies gtwy as the test type and the suffix declares the type of resource, either gateway or frontend route.

Magpie

Many of the tests use the magpiego image as a testing container. These should be named with the test type as the prefix and app-ctnr as the suffix:

corerp-resources-mongodb.bicep

resource webapp 'Applications.Core/containers@2023-10-01-preview' = {
  name: 'mdb-app-ctnr'
  ...
}