-
Notifications
You must be signed in to change notification settings - Fork 325
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
Add (very few) unit tests to galley. #1071
Conversation
No idea right now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-detection would be really valuable to not forget adding modules, but good to get started with this.
I managed to reproduce the above error locally, by running I also established that stack always runs with working directory Something else is going on here. At this point I am leaning towards abandoning |
Not sure what's going on either. Had a quick look at the doctest issues and there were other people having issues with different artifacts not being found, but didn't find something that would help here. |
doctest has build issues and seems overall unstable and brittle.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but maybe it's a good idea to rename the PR before merging to make it clear that no doctests were added in the end.
Some tests for the broadcast query parameters, since I was asked the question how they work and couldn't answer. Now the haddocks tells us, and if it's lying the CI won't pass. :)
One might argue that unit tests (tasty, probably) are more consistent with the rest of our tests. I think it's fine to have both, but if we agree on that, I am fine with moving the tests here to a unit test suite for galley (also to be created).