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

Implement Execution Test #121

Open
Alexius-Huang opened this issue Jun 14, 2020 · 0 comments
Open

Implement Execution Test #121

Alexius-Huang opened this issue Jun 14, 2020 · 0 comments

Comments

@Alexius-Huang
Copy link
Owner

Alexius-Huang commented Jun 14, 2020

What?
Currently Wyrd test samples has already tested the whole compilation process, however, it hasn't implement any tests which checks the correctness of the execution result from the compilation.

Why?
It is better to implement tests throughout the whole compilation to execution result.

How?
For instance, to test this code:

Num foo = 123

We need to verify if the variable foo is indeed result number 123.

Other approaches might be checking the last line output result:

1 + 2
3 + 4

Should verify the result as 7 since the compiled last line's evaluation result is 7

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

No branches or pull requests

1 participant