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
Owners
Copyright
(c) Andrew Wilson. All rights reserved.
Package Details
Author(s)
- Andrew Wilson
Tags
Functions
Import-Bicep Invoke-BicepExpression
PSEditions
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
- BicepConsoleTTK.nuspec
- BicepConsoleTTK.psd1
- BicepConsoleTTK.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.1.1 | 5 | 5/9/2026 |
| 0.1.0 (current version) | 6 | 5/8/2026 |