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

Add regression test for #224 #255

Merged
merged 2 commits into from
Oct 3, 2021

Conversation

shonfeder
Copy link
Collaborator

@shonfeder shonfeder commented Sep 26, 2021

Closes #224

This also bumps our dune lang version up to 2.7, which reverses course from #218, originally motivated by #212.

See c3d151e for the rationale.

This bears upon one aspect of the testing question that came up at #248. @sonologico how do you feel about adopting Dune's built in support for cram-style tests, as I'm doing here, for our end-to-end testing setup?

This lets us use dune's built in cram testing, instead of the bespoke
cram-style testing that used for the spec. I think it makes sense to
support the current finicky testing setup for the spec, because it lets
us use the commonmark spec as a raw source of truth, but for further
tests we add I think we'll benefit from a more lightweight set up.

Since we are already using dune, it seems sensible to use this testing
framework we get access to with a two line change.

We might consider reworking the spec testing setup to generate
dune-supported cram tests in the future tool, as it would eliminate a
good chunk of code.
@sonologico
Copy link
Collaborator

I think relying on the dune cram-test support is a good thing.

Copy link
Collaborator

@sonologico sonologico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. We just need to figure out the breaking build on windows.

@shonfeder
Copy link
Collaborator Author

Excellent. Thanks, @sonologico !

The windows CI failures are due to an ongoing issue with the setup-ocaml action: #264

@shonfeder shonfeder merged commit 39ccd93 into ocaml-community:master Oct 3, 2021
@shonfeder shonfeder deleted the regression/224 branch October 3, 2021 02:04
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.

emphasis vs code block
2 participants