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

Add --debug option for integration tests #1378

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

wleczny
Copy link
Contributor

@wleczny wleczny commented Sep 20, 2022

This PR adds --debug option for integration tests, which should improve DX for Scala CLI contributors.

@wleczny
Copy link
Contributor Author

wleczny commented Sep 20, 2022

Unfortunately tests, which assert equality between expected output and output of tested command might fail, because Java remote debugging adds for example Listening for transport dt_socket at address: 5005. It is possible to filter out unwanted content, but I'm worried that it might be more confusing than helpful when writing tests in the future.

build.sc Outdated Show resolved Hide resolved
build.sc Outdated Show resolved Hide resolved
build.sc Outdated Show resolved Hide resolved
build.sc Outdated Show resolved Hide resolved
build.sc Outdated Show resolved Hide resolved
@Gedochao Gedochao added the DX Dev experience label Sep 21, 2022
@wleczny wleczny force-pushed the debug-option branch 3 times, most recently from aa1b379 to e56aaeb Compare September 22, 2022 11:35
@wleczny wleczny marked this pull request as ready for review September 22, 2022 11:41
@wleczny wleczny merged commit e3995d2 into VirtusLab:main Sep 23, 2022
@wleczny wleczny deleted the debug-option branch September 23, 2022 11:15
@wleczny wleczny added the internal Internal or build-related changes label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Dev experience internal Internal or build-related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants