Get help with testing, discuss unit testing strategies etc.


Post by hopper »

I have Siesta set up to run on port 8080 of my local machine (i.e. https://localhost:8080/siesta/) but whenever I encounter an exception, the stack trace displays like this:
Passed: 0
Failed: 0
Test suite threw an exception: TypeError: me.model.getProxy is not a function
[object Object] at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
at line 8080 of https://localhost
...
Which seems to show that Siesta is interpreting the host port number as the line number in the trace. As one might expect, if the configuration is modified to host Siesta from the default port 80 (i.e. https://localhost/siesta/) the filenames and line numbers appear fine.

Post by mats »

Can you please file a ticket in our Assembla tracker and we''ll look into it shortly. Thanks!

Post by hopper »

Okay, I've reported this as issue #254. Thank you!

Post by mats »

Fixed for next release!

Post Reply