Skip to content Skip to sidebar Skip to footer
Showing posts with the label Jasmine

Executing .exe File Using Node Runs Only Once In Protractor

I write some tests using jasmine and protractor i want in the @beforeeach to execute .exe file usin… Read more Executing .exe File Using Node Runs Only Once In Protractor

Jasmine 2.0: Refactoring Out 1.3's Runs() And Waitsfor()

The recently released Jasmine 2.0 removes the waits functions and the runs() from the Async Jasmine… Read more Jasmine 2.0: Refactoring Out 1.3's Runs() And Waitsfor()

Calling Click() Function On Html Element In Jasmine-phantomjs Test

I run my tests with Karma and PhantomJS: INFO [karma]: Karma v0.12.32 server started at http://loc… Read more Calling Click() Function On Html Element In Jasmine-phantomjs Test

Do You Need Spies To Test If A Function Has Been Called In Jasmine?

Am learning Jasmine, wondering if the following test would be valid? And if not, can someone explai… Read more Do You Need Spies To Test If A Function Has Been Called In Jasmine?

Expect Not Tothrow Function With Arguments - Jasmine

I have function that gets 3 arguments. I want to check that this function not throwing an error. I … Read more Expect Not Tothrow Function With Arguments - Jasmine

How To Change $httpbackend When[method] Statements Between Requests In Unit Testing?

In my testing i initiate some model data and mock the response: beforeEach(function(){ var re = … Read more How To Change $httpbackend When[method] Statements Between Requests In Unit Testing?