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 support for debugging tests launched from Zig Build #82

Open
PasVegan opened this issue Nov 11, 2024 · 4 comments
Open

Add support for debugging tests launched from Zig Build #82

PasVegan opened this issue Nov 11, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@PasVegan
Copy link

It would be nice to be able to debug tests.

@FalsePattern
Copy link
Owner

FalsePattern commented Nov 11, 2024

Debugging single-file tests is already supported.
image

@FalsePattern
Copy link
Owner

FalsePattern commented Nov 11, 2024

If you mean debugging tests launched using zig build test, it is unfortunately too complicated for me to implement for the foreseeable future, but I'm open for contributions.

@FalsePattern FalsePattern added the enhancement New feature or request label Nov 11, 2024
@FalsePattern FalsePattern changed the title Allow debugging test Add support for debugging tests launched from Zig Build Nov 11, 2024
@PasVegan
Copy link
Author

If you mean debugging tests launched using zig build test, it is unfortunately too complicated for me to implement for the foreseeable future, but I'm open for contributions.

Yes that's what I meant, if I have some time I will try to help 👍🏻

@FalsePattern FalsePattern added the help wanted Extra attention is needed label Nov 11, 2024
@g41797
Copy link

g41797 commented Dec 9, 2024

You can debug single file test only if the test in question does not contain dependencies.
It's restriction of 'zig test' - it does not use build system.

In order to debud tests, I

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants