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

Writing tests for Terra in Moonscripts fails #592

Open
DarkWiiPlayer opened this issue Apr 9, 2019 · 4 comments
Open

Writing tests for Terra in Moonscripts fails #592

DarkWiiPlayer opened this issue Apr 9, 2019 · 4 comments

Comments

@DarkWiiPlayer
Copy link

I've tried if this was possible, but it seems the moonscript parser is loaded as Terra code, which then fails because of using undeclared globals.

@Tieske
Copy link
Member

Tieske commented Apr 16, 2019

What is this? a feature request, or a bug? please add appropriate details

@DarkWiiPlayer
Copy link
Author

If it was suposed to work, then it's a bug. If it doesn't, then it's a feature request. Either way I think it would make sense for it to be possible, or at least give an appropriate error messages saying that you can't write tests for terra in moonscript.

@Tieske
Copy link
Member

Tieske commented Apr 19, 2019

not familiar with either terra nor moonscript. But PR's are welcome! 😄

@alerque
Copy link
Member

alerque commented Aug 25, 2022

The upstream tests for moonscript itself are written in moon and run using busted. Do you mean that specifically testing terra using moonscript specs is a problem? But that it works for specs written in plain Lua?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants