Skip to content

Conversation

@aniskhalfallah
Copy link
Contributor

Description

Add terraform tests to kiro module

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder/modules/kiro
Breaking change: [ ] Yes [x] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Related Issues

#308

aniskhalfallah and others added 2 commits November 9, 2025 22:16
Signed-off-by: Anis KHALFALLAH <khalfallah.anis@hotmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Terraform native tests (.tftest.hcl) to the kiro module to complement the existing TypeScript test suite. The tests validate module behavior for various configuration scenarios including URL construction, custom display settings, ordering, and MCP JSON configuration.

Key Changes

  • Added comprehensive Terraform test suite with 8 test cases covering all module variables and outputs
  • Tests validate URL generation logic, resource attributes, and MCP configuration script generation
  • Tests mirror existing TypeScript test coverage in main.test.ts
@DevelopmentCats DevelopmentCats merged commit 69abf48 into coder:main Nov 10, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants