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

passing all tests provided by the official site #1

Open
thautwarm opened this issue Feb 18, 2020 · 1 comment
Open

passing all tests provided by the official site #1

thautwarm opened this issue Feb 18, 2020 · 1 comment

Comments

@thautwarm
Copy link
Member

https://github.com/purescript/purescript/tree/master/tests/purs/passing

It's kind of vague as no expected behaviour checking over there. I'll take it as "executed successfully then passed"

@thautwarm
Copy link
Member Author

We can write a script to convert each directory in https://github.com/purescript/purescript/tree/master/tests/purs/passing to a Spago project, like this one: https://github.com/purescript-python/example-hw

And then we can run spago run to get output in STDOUT, and then we can assert if the output message matches the expected one.

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

No branches or pull requests

1 participant