MercuryTechnologies / ghciwatch

Load a GHCi session for a Haskell project and reload it when source files change
https://mercurytechnologies.github.io/ghciwatch/
MIT License
111 stars 10 forks source link

docs for tasty usage #318

Closed mwotton closed 1 month ago

mwotton commented 2 months ago

Describe the feature you’d like to be implemented

There are a few tricks necessary to get Tasty running well under ghciwatch, like the bubblewrap buffering trick noted in #317 , as well as using tasty-autocollect rather than tasty-discover (as changes in the generated file under tasty-discover are not picked up.)

I'm happy to write it up, but is there an appropriate place to put docs on integration with specific test-running suites?

List alternatives to the feature and their pros and cons

No response

Additional context

No response

9999years commented 2 months ago

I'm happy to write it up, but is there an appropriate place to put docs on integration with specific test-running suites?

What if we add a new section in docs and put it in a new page under there?

Like "Integrating ghciwatch with other tools" and a "Tasty" page under that.

mwotton commented 1 month ago

sounds great! i think the test-dev trick of using a single component used in the tests that happens to include everything might be another nice thing to document under that - while it's a good trick until multiple components works smoothly, it does require some changes in hie.yaml to load that component in LSP (otherwise you get errors about a file being part of multiple components)

9999years commented 1 month ago

Closed in #321