Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test CLI without shelling out #60

Draft
wants to merge 39 commits into
base: main
Choose a base branch
from
Draft

test CLI without shelling out #60

wants to merge 39 commits into from

Conversation

emiltin
Copy link
Collaborator

@emiltin emiltin commented Jun 27, 2023

Invoke our Thor CLI methods directly, instead of actually running in a separate process. This speeds ups tests a lot. We capture stdout and checks what's written line by line, so we can exit tests as soon as expected output is seen.

@emiltin
Copy link
Collaborator Author

emiltin commented Jul 6, 2023

There seems to be an issue with gets() inside an Async block on Windows. Open an issue at socketry/async#256

@emiltin emiltin marked this pull request as draft July 6, 2023 08:42
@emiltin emiltin force-pushed the cli_test_no_shell branch 2 times, most recently from 591a7ac to 3d09214 Compare August 8, 2023 09:22
@emiltin
Copy link
Collaborator Author

emiltin commented Aug 8, 2023

There seems to be an issue with gets() inside an Async block on Windows. Open an issue at socketry/async#256

seems to be fixed in async 2.6.3.

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