Skip to content

Add tests for tach show#904

Open
chadrik wants to merge 5 commits intotach-org:mainfrom
chadrik:show-tests
Open

Add tests for tach show#904
chadrik wants to merge 5 commits intotach-org:mainfrom
chadrik:show-tests

Conversation

@chadrik
Copy link
Copy Markdown

@chadrik chadrik commented Jan 25, 2026

This PR adds baseline tests for tach show for both dot and mermaid files. It adds a new output folder that sits beside the example folder and holds a parallel folder tree of expected file output. The tests sync the project before generating output so that the graphs are complete.

Examples must be copied to a temp dir before each test to isolate the effects of project sync on the config file.
Copy link
Copy Markdown
Collaborator

@DetachHead DetachHead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the contribution!

@chadrik
Copy link
Copy Markdown
Author

chadrik commented Feb 7, 2026

Sorry, I missed your comments. I'll try to get to them soon.

@chadrik
Copy link
Copy Markdown
Author

chadrik commented Feb 9, 2026

Notes addressed

Comment on lines +2 to +6
"gauge.backend";
"gauge.utils";
"gauge.backend.mod3";
"gauge.backend.mod2";
"gauge.backend" -> "gauge.utils";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how come these changed?

graph TD
gauge.backend --> gauge.utils
gauge.backend.mod3 --> gauge.backend.mod2
gauge.backend
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

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.

2 participants