Skip to content

Conversation

@Spissable
Copy link
Contributor

Currently, we're not able to run Go sub-tests that have a raw string (e.g. we're using multi-line names a lot) via the UI. I added the changes that are needed, plus a handful of tests to cover the basics.

Quick comparison:

Before:
before

After:
after

Release Notes:

  • Added support for Go subtest runner with raw string names

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jul 17, 2025
@osiewicz osiewicz merged commit fd05f17 into zed-industries:main Jul 18, 2025
20 checks passed
@jaymorelli96
Copy link

Now we need support for table tests 🚀

@Spissable
Copy link
Contributor Author

Now we need support for table tests 🚀

haha yeah I really wanna emulate the way Goland handles it nicely. Would also give Zed a nice edge over VSCode.

@Spissable Spissable deleted the go-subtest-multiline-testname branch August 23, 2025 10:09
orual pushed a commit to orual/zed that referenced this pull request Aug 23, 2025
Currently, we're not able to run Go sub-tests that have a raw string
(e.g. we're using multi-line names a lot) via the UI. I added the
changes that are needed, plus a handful of tests to cover the basics.

Quick comparison:

Before:
<img width="901" height="370" alt="before"
src="https://github.com/user-attachments/assets/4e5cadeb-9a0c-49e2-b976-2223e1010f85"
/>



After:
<img width="901" height="505" alt="after"
src="https://github.com/user-attachments/assets/994fc69b-f720-488c-a14b-853a3ca2f53c"
/>


Release Notes:

- Added support for Go subtest runner with raw string names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants