# BCPNFR12 - Deployment Test Naming Module Specification for the Azure Verified Modules (AVM) program ID: BCPNFR12 - Category: Testing - Deployment Test Naming Module owners MUST invoke the module in their test using the syntax: module testDeployment '../../../main.bicep' = Example 1: Working example with a single deployment module testDeployment '../../../main.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { (...) } } Example 2: Working example using a deployment loop @batchSize(1) module testDeployment '../../main.bicep' = [for iteration in [ 'init', 'idem' ]: { scope: resourceGroup name: '${uniqueString(deployment().name, location)}-test-${serviceShort}-${iteration}' params: { (...) } }] The syntax is used by the ReadMe-generating utility to identify, pull & format usage examples. --- Source: https://raw.githubusercontent.com/Azure/Azure-Verified-Modules/refs/heads/main/docs/content/specs-defs/includes/bicep/shared/non-functional/BCPNFR12.md Last Modified: 0001-01-01