Skip to content

Add unit tests for k8s/instance module#156

Open
fedemaleh wants to merge 1 commit intobetafrom
feature/instance-tests
Open

Add unit tests for k8s/instance module#156
fedemaleh wants to merge 1 commit intobetafrom
feature/instance-tests

Conversation

@fedemaleh
Copy link
Copy Markdown
Collaborator

Summary

  • Add 7 BATS unit tests for k8s/instance/build_context (parameter extraction, array handling, null/missing args, LIMIT)
  • Add 10 BATS unit tests for k8s/instance/list (full JSON structure validation, label selectors, namespace override, edge cases)
  • Fix missing newline at EOF in k8s/instance/list

Test plan

  • Run bats k8s/instance/tests/build_context.bats — 7 tests pass
  • Run bats k8s/instance/tests/list.bats — 10 tests pass

@fedemaleh fedemaleh force-pushed the feature/instance-tests branch from 29c14ee to 0b0ae0a Compare April 8, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant