Closed joneshf closed 6 years ago
:heart:
I wonder if a good check would be to attempt to parse all of the modules in output
? Given that there's a good deal of modules being compiled, that ought to provide some pretty decent coverage. What do you think?
The output
directory for the project itself? That would probably be pretty good coverage. I’ve been working on a hello world project for PureSwift and there’s a decent of of stuff to parse even though the source code is very minimal.
Do you mean as part of the test suite?
Yep!
Seems like a decent way to stay honest. If we can parse every module that helped make the library, it probably works for most modules out there.
Tried throwing something together, looks like it's failing on CoreFn.Names
: https://travis-ci.org/joneshf/purescript-corefn/jobs/372783958#L1511-L1515
It's already paying off!
As discussed in #44, this PR finishes off the 0.11 support.