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

[Suggestion] Log error when addTest fails #9

Closed
siekermantechnology opened this issue Nov 17, 2016 · 2 comments
Closed

[Suggestion] Log error when addTest fails #9

siekermantechnology opened this issue Nov 17, 2016 · 2 comments

Comments

@siekermantechnology
Copy link

When building a test suite file and writing/adding various test cases, as soon as one of the function names that is added through this.addTest() is wrong, instead of showing an error in the log, none of the tests are executed anymore. Tracking down where the typo is, is now tricky, because the log gives no information which could help.

@EnTerr
Copy link

EnTerr commented Dec 31, 2016

And "here is your problem":

eval("testSuite=" + functionName + "()")

                functionName = testSuiteRegex.Match(line).Peek()
                eval("testSuite=" + functionName + "()")

Respectfully WTH? You eval( ) something and never bother to test if there was an error?
... in a "Unit Testing Framework". Oh, the irony.

@RokuRnD
Copy link
Contributor

RokuRnD commented Apr 5, 2017

@siekermantechnology eval() is now used only for getting function reference. Please take a look at new version v.1.2.1 and tell us if it fits your current needs.

@RokuRnD RokuRnD closed this as completed Apr 5, 2017
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

3 participants