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

Sonarqube Test Coverage With Istanbul : No Coverage Property. Skip Sensor

I'm trying to output some test coverage (lcov) reports from istanbul into sonarqube to analyse … Read more Sonarqube Test Coverage With Istanbul : No Coverage Property. Skip Sensor

Cloning Element Finders

While researching available ElementFinder and ElementArrayFinder methods, I've noticed that the… Read more Cloning Element Finders

Randomly Failing Tests Jest And Supertest Node.js

so long story short I'm developing RESTapi that takes a movie title on POST request to the /mov… Read more Randomly Failing Tests Jest And Supertest Node.js

Array.foreach Running Faster Than Native Iteration? How?

http://jsperf.com/testing-foreach-vs-for-loop It was my understanding that Test Case 2 should run m… Read more Array.foreach Running Faster Than Native Iteration? How?

What Is `browser.call()` For In Protractor?

I've recently being going through the Protractor API and noticed the browser.call() method: Sc… Read more What Is `browser.call()` For In Protractor?

Sinon Stub With Es6-promisified Object

Ok my setup is as follows: Using node 6.2, es6-promisify, sinon, sinon-as-promised, and babel to tr… Read more Sinon Stub With Es6-promisified Object

Get Access To Angular Service Instance From Javascript Code

What I'm trying to do is have some testing assertions based on the data in the Angular service,… Read more Get Access To Angular Service Instance From Javascript Code

Mocha Tests For Asynchronous Functions

I'm writing a node wrapper to interact with an external api and am having a difficult time test… Read more Mocha Tests For Asynchronous Functions