This repository was archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Initial setup for integration tests #80
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8b3f056
Initial setup for integration tests
cmoog 8e8b215
Execute commands in container
cmoog 2932fe9
Add RunCmd manual command
cmoog 025e1bd
Adds working bind mount
cmoog f11304b
Adds github fmt, lint, test ci
cmoog 5998ff1
Add integration action
cmoog 1495867
Add initial coder tests
cmoog a7ac523
Doc comments only
cmoog 5c118b8
Limit github action runs
cmoog 50c4e75
Add GetResult Assertion
cmoog bf31666
Add host runner
cmoog f4fe567
Add tests for host runner
cmoog 9d358a6
Adds headless login workaround
cmoog e6c79f5
Add verbose logging to integration tests
cmoog b5b93d4
Fix tcli log helpers
cmoog c451d16
Move tcli tests to tcli package
cmoog cafdd6f
Simplify assertion type
cmoog 18b5f50
Cleanup when commands are executed in sh or not
cmoog 692b219
Handle command failure better
cmoog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Cleanup when commands are executed in sh or not
- Loading branch information
commit 18b5f50abcca7b5c7e79cd46ee93b084be0bf5fd
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Package tcli provides a framework for CLI integration testing. | ||
// Execute commands on the raw host of inside docker container. | ||
// Execute commands on the raw host or inside a docker container. | ||
// Define custom Assertion types to extend test functionality. | ||
package tcli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you foresee us using
HostRunner
in the coder-cli tests?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not at the moment, but I do think it has a place in
tcli
as an escape hatch.