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

Separate testing and input generation concepts #96

Merged
merged 1 commit into from
Jul 3, 2017

Conversation

jacobstanley
Copy link
Member

I got stuck implementing parallel state machine testing as Test was not MonadBaseControl so I couldn't fork it to a new thread. This change makes a separation between things that support testing (Test) and things that support testing and can generate input (TestGen). This means that we can fork a thread in Test even though we can't do so for TestGen. It also clears up the strange ResourceT behaviour somewhat.

I'm not really happy with the names Test and TestGen, would probably prefer Test and Property, but then I don't know what to call the top level testable thing.

I'm also tossing up on the names of the eval functions, I named them this way so that evalExceptT looks like evalStateT from transformers. But really eval itself is more similar to evaluate in base:Control.Exception

! @charleso, I wouldn't mind a discussion about this some time

@jacobstanley jacobstanley merged commit 846402f into master Jul 3, 2017
@jacobstanley jacobstanley deleted the topic/split-test branch July 3, 2017 07:53
@charleso
Copy link

charleso commented Jul 3, 2017

👍

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