-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unit testing #68
Comments
Nice, this could also be more user friendly for testing applications. |
Also, line number detection for unexpectedly raised errors is highly desirable. Currently this information is unavailable. |
Somewhat related to daokoder/dao#298 . |
Now it is made available. |
BTW, I prefer we rename this module, something like |
Right, |
|
Now there is a problem with the decorator. When I do |
While
daotest
is suitable for testing the DaoVM (e.g., it is able to properly test parsing and typing mechanics), I felt the need to have an assertion-based test framework I could use for standard modules. So here it is.Simple example:
Output:
Currently,
test.runTest()
just dumbly runs all global routines matching prefix. Would be nice if it was possible to sort it out by picking only@test
-decorated routines (this issue).The text was updated successfully, but these errors were encountered: