Posts Tagged: testing

Home » testing

Testing REST Services with REST Assured

RESTful service testing can be unwieldy and difficult to get started with. Providing a REST API implies using a variety of technologies and techniques such as HTTP, JSON, authentication, various payload transfer mechanisms and content types.This is where a tool that abstracts over these technical details and facilitates their application comes in handy. REST Assured is a high-level DSL for testing REST APIs. It draws upon behaviour-driven development (BDD) and hence makes for readable test descriptions.A typical acceptance test with ... Read more

Mockito 2 now available

Last week version 2.1.0 of the Mockito testing framework for Java has been released. For more information on this latest iteration check out this page.As the name suggests, Mockito allows you to mock object behaviour during unit tests. When writing unit tests you only want to test a particular unit's behaviour (hence the name). Depending on the programming language used such a unit might be a function, a procedure or - most commonly in today's object-oriented programming environments - a ... Read more

Libraries.io and Dependency CI: Open Source Library Discovery and Dependency QA

Recently, I came across Libraries.io and its companion service Dependency CI.Open Source Library Discovery and Dependency QA Read more

Varying Degrees Of Software Quality And What To Do About It

When working on client projects I come across copious amounts of source code, which sometimes is very well-maintained, sometimes less so. The various code bases are as diverse as their owners and respective stakeholders:A few come with an inherent sense of quality, lots of unit tests serving as the specification for the product. They're typically delightful to maintain and extend.Some though at times leave the impression of having been cobbled together in a rather haphazard, impromptu manner in order to solve ... Read more

Tracking Down Software Bugs, Automatically!

Last week MIT researchers published an article about an automatic bug-repair system called Prophet. Prophet is a machine-learning system that learns general properties and patterns of successful error corrections in software and applies those patterns to making new error corrections in other programs.While the possibility of having software track down and fix bugs automatically (which effectively would mean creating self-correcting computer programs) is exciting enough in its own right, Prophet possibly has far-reaching implications for verifying the general correctness of code ... Read more

Advice On Improving JavaScript Test Speed (by Shyp Engineering)

On their blog engineers of logistics service Shyp talk about how they improved the turn-around times of their JavaScript test suite by an order of magnitude of 3 (i.e. 1000x), which is no small achievement.In a modern software development process continuous integration and continuous deployment play a vital role. These ensure that your software always is in an deliverable, tested state and ideally is deployed to production systems in a timely manner when a change has been made. This process requires ... Read more

Houdini – Automatically Generated Web App Tests

Houdini is a new SaaS product - currently in private beta - that "watches you using your site and automatically generates end to end tests that run continuously in the cloud".After having added some JavaScript code to your web app Houdini will follow and record your clicks, inputs and actions. These recordings are then used for automatically generating tests that run continuously. So, if a code change breaks your app's front end behaviour you will be informed about this.This is a ... Read more

nagg – Simple A/B Testing For Links

nagg is an interesting take on URL shortening. It lets you enter up to 4 links each of which will be presented to the user clicking on the link at a previously set rate. For example, if entering four links with a rate of 25% each, each link will be shown every fourth time a user clicks on the shortenend link.This allows you for instance to do quick split testing of marketing sites or landing pages. Read more

Acceptance Testing With PhantomJS and CasperJS

PhantomJS is a headless WebKit browser that allows you to call, test and scrape websites from the command line. In the developer's own words:PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.CasperJS is a testing and scripting framework that builds on PhantomJS. Again, in the developer's own words:CasperJS is an open source navigation scripting & testing utility written in Javascript and based on PhantomJS ... Read more

Sauce Labs – Cross Browser Testing

Cross browser testing is a notoriously cumbersome problem. When developing web applications or websites any decent web developer or designer will try to test her work not only on her local machine, browser and operating system combination but will strive to cover as many reasonable environments that hold a certain market share as possible.Provisioning all those configurations with every possible combination of Chrome, Firefox, Safari and Internet Explorer and OSX, Windows, Linux, Android and iOS can cause quite some headaches, not ... Read more

By continuing to use the site you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or if you click "Accept" below then you are consenting to this.

Close