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

Use of puretest in freestyle #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

jserranohidalgo
Copy link
Member

@jserranohidalgo jserranohidalgo commented Nov 26, 2017

WIP. Not actually intended to be merged.

@raulraja @javierfs89 Puretest currently supports finally tagless implementations, so we tried it first to adapt the finally tagless tests of freestyle, and give them a simple interpretation with either. This seems to work. Then, we gave also an instance for FreeS, though we were not able to come up with a clean implementation. Surely, this can be significantly improved. Anyway, IMO, the right approach to support Free is through a new implementation of the Puretest DSL in terms of freestyle's @free.

@raulraja
Copy link

@jserranohidalgo Awesome!. For the @free based impl. Do you guys plan on providing modules for the different integrations with scala libs such as freestyle in the hablapps org or would you prefer if we have a freestyle-puretest in our org that includes this new version of the DSL?

@jserranohidalgo
Copy link
Member Author

@raulraja Puretest could be extended in two major dimensions: DSL technique and testing framework. It'd be nice if all extensions could be managed and advertised through the same repo. So, I lean towards adding the new implementation of the Puretest DSL for @free in the very same puretest-cats project (or in a new sbt project of the same repo, if you like). Please, feel free to suggest any change in the layout and package naming to better accommodate that contribution. I'm looking forward to it! :)

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