PDA

View Full Version : [NOREPRO] Sencha Test 1.0.3 Does Not Show Any Error If It Is In Test Case Code



bhartiTidake
8 Aug 2016, 9:51 PM
If Their Is Any Error In Our Test Case Then Sencha Test Does Not Show Any Error.

So Developer Or Test Engineer Not Able To Understand What Is Going Wrong?Where Is The Mistake?

Even Though The Test Case Is Wrong It Load The Browser And Say Loading Test And Nothing Further.

I Think This Should Be Take Into Consideration.

Thanks

mitchellsimoens
9 Aug 2016, 3:46 AM
You mean a JavaScript error?

I have this test:


describe("test", function() {
it("should pass", function() {
foo(); //foo is undefined
expect(1).toBe(1);
});
});

And foo is undefined, this is the result when I run the test:

54921

So the test fails and if I click on the failure it shows that foo is undefined which is the error.