ZaDarkSide / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

Eclipse plugin, this is sparta: no errors output from non-test files, no line redirection from output. #352

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I would like to see all errors from all js files that are loaded.

For example I have math.js file with lines like this
        Vec2d = function (x, y)
    {
        this.x = x;
        this.y = y;
    };

    Tor.Vec2d.prototype = new Box2d.Common.Math.b2Vec2();

    Tor.Vec2d.prototype.Mul = function(value)
                {...

and the test file
var test = new Tor.Vec2d(10, 10);
test.Mul(42);

I got ONE error message, that Mul function is not defined, it is not *defined* 
because math.js evaluate with error (I typed Box2d instread of Box2D)
All error messages should be in output, otherwise it is just SPARTA to find out 
what went wrone in all other js files.
It looks like *sometimes* it outputs error from non test files, may this is a 
bug?

The other thing, even when I got message the "Mul is not defined" there are 
lines and file info, but I could click on them to locale in that file, I need 
to see file manually, to find a line by number - this is SPARTA.

Original issue reported on code.google.com by hypsmail@gmail.com on 17 Mar 2012 at 9:07