You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the unit tests only verify if a certain piece of code executes successfully and has the expected behavior.
However, often times the "expected behavior" is an error. e.g: The expected behavior for1 + "2" to report a bad binary operator error and stop execution.
We should have tests that assert that the compiler/runtime is able to report correct and well formed errors and doesn't crash/segfault.
The text was updated successfully, but these errors were encountered:
Currently, the unit tests only verify if a certain piece of code executes successfully and has the expected behavior.
However, often times the "expected behavior" is an error. e.g: The expected behavior for
1 + "2"
to report a bad binary operator error and stop execution.We should have tests that assert that the compiler/runtime is able to report correct and well formed errors and doesn't crash/segfault.
The text was updated successfully, but these errors were encountered: