BicepConsoleTTK

0.1.0

Bicep Console Test Tool Kit (BicepConsoleTTK) — test Bicep imported types, functions and variables via the Bicep Console REPL using Pester

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name BicepConsoleTTK -RequiredVersion 0.1.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name BicepConsoleTTK -Version 0.1.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Andrew Wilson. All rights reserved.

Package Details

Author(s)

  • Andrew Wilson

Tags

Bicep Azure Testing Pester

Functions

Import-Bicep Invoke-BicepExpression

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

## 0.1.0 (2026-05-08)

Initial release of BicepConsoleTTK (Bicep Console Test Tool Kit).

### Features
- Import-Bicep: parse named and wildcard import statements to extract exported func, type and var declarations from Bicep files
- Invoke-BicepExpression: evaluate a Bicep expression via the bicep console REPL and return the result for Pester assertions
- Multi-file imports with preserved declaration order
- Automatic deduplication of imported members
- SetupDeclarations support for pre-declaring typed variables before the test expression
- Pipeline input support for Import-Bicep
- Clear error messages: Bicep console errors are caught, tilde/caret noise stripped, and re-thrown as readable exceptions
- 30-second process timeout to prevent CI pipeline hangs
- Compatible with Windows PowerShell 5.1 (Desktop) and PowerShell 7+ (Core)

FileList

Version History

Version Downloads Last updated
0.1.1 5 5/9/2026
0.1.0 (current version) 6 5/8/2026