coder / coder/terraform-provider-envbuilder

refactor: use golden files to store test data for integraiton tests

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

nit: would it help if we have some _YAML files with test input data?_ I mean, less Go code...

_Originally posted by @mtojek in https://github.com/coder/terraform-provider-envbuilder/pull/44#discussion_r1743231711_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the integration tests and the discussion in pull request #44, since no specific files or test cases are named here. The intended result appears to be storing integration-test input data in YAML golden files instead of Go code; confirm the scope and expected format before changing anything.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.