Skip to content

Conversation

Nsidorenco
Copy link
Owner

Refactors the test clients so its easier to determine if a rebuild should happen.
Mostly, this enables us to run test discovery without triggering a project build on initial discovery.

In this case I've opted to build the entire solution on startup.

I don't know if this have any improvements for you @seblyng compared to building the projects individually?

@seblyng
Copy link
Contributor

seblyng commented Jun 24, 2025

🔥 This seems to make things even faster!

Having already compiled the solution beforehand, and now just opening neovim to discover the tests brings this all the way down to from ~20 seconds to ~8 seconds!

If I for example make a small edit in my test, before making neotest start to discover the tests, it takes ~16 seconds or so, so still ~4 seconds faster or so with my very limited "benchmarking" of just timing it with a stopwatch

@Nsidorenco
Copy link
Owner Author

Awesome 🙌🏻 I'll get this merged in then

@Nsidorenco Nsidorenco merged commit 3ec83f9 into main Jun 25, 2025
6 checks passed
@Nsidorenco Nsidorenco deleted the feat/remove_build_logic_from_test_clients branch June 25, 2025 20:20
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