Questions tagged [jasmine2.0]

Jasmine is an open source testing framework for JavaScript. It aims to run on any JavaScript-enabled platform, to not intrude on the application nor the IDE, and to have easy-to-read syntax. It is heavily influenced by other unit testing frameworks, such as ScrewUnit, JSSpec, JSpec, and RSpec.

Jasmine is an open source testing framework for JavaScript. It aims to run on any JavaScript-enabled platform, to not intrude on the application nor the IDE, and to have easy-to-read syntax. It is heavily influenced by other unit testing frameworks, such as ScrewUnit, JSSpec, JSpec, and RSpec.

197 questions
-2
votes
1 answer

Should Jasmine 'expectationFailedOutput' messages describe what was expected, or what happened?

Jasmine expect statements can produce worthless error messages like: Expected true to be false. To address this, matchers allow you to add a clarifying message as a second argument, expectationFailedOutput: toBe(expected: any,…
Mud
  • 28,277
  • 11
  • 59
  • 92
-3
votes
2 answers

Protractor jasmine2-protractor-util TypeError: Cannot read property 'forEach' of undefined

I've got a problem with separated protractor specs. I've trying to divide 1 test 1 spec. And got a error message like E/launcher - Cannot read property 'forEach' of undefined E/launcher - TypeError: Cannot read property 'forEach' of undefined …
1 2 3
13
14