Posts about testing
Categories
- Sep 14 2017
Ergonomic Testing with Webpack, Part One, File Resolving
This is part one in a series on the intersection of module bundlers and testing frameworks. Our focus will be webpack and jest but the techniques explored here can be reused with other tools as well. Modern websites and applications are routinely built by combining hundreds of small JavaScript modules. In order to increase the […]
Continue ReadingErgonomic Testing with Webpack, Part One, File Resolving - Aug 03 2017
The Caper of the Flaky Test
The test showed up on my desk just like any other. There I was, working with Google’s Web Platform Predictability team to find so-called “flaky” tests in the venerable Web Platform Tests project. I’d run a hundred or so at a time, over and over again, looking for any that reported inconsistent results. It was […]
Continue ReadingThe Caper of the Flaky Test - May 08 2017
Moving Targets: A Case Study on Testing Web Standards
Recently, I had the opportunity to contribute to a massive, meaningful effort: the open-source Web Platform Tests (WPT) project. My task was to improve WPT test coverage for areas of the HTML specification dealing with navigation —things like the details of loading new web pages, browsing around the web, and opening new windows. I didn’t […]
Continue ReadingMoving Targets: A Case Study on Testing Web Standards- Tagged in:
- testing
- Apr 27 2017
Diving Into the Web Platform Tests
Illustration by Sue Lockwood At Bocoup, we hold strong convictions about the social significance of the web platform. We want to see it expand, and we want to make sure that it remains open in all senses as it grows. Following the lead of Philippe Le Hegaret of the W3C (and in collaborations with the […]
Continue ReadingDiving Into the Web Platform Tests- Tagged in:
- web standards
- Aug 25 2016
Test262 is a JavaScript Sideshow
Illustration by Sue Lockwood TC-39, the standards body that defines JavaScript, maintains a gigantic suite of tests for the language. The name of that test suite is Test262. When we started extending Test262 to cover brand new language features, we knew we were in for some surprises. Even so, we never could have anticipated the […]
Continue ReadingTest262 is a JavaScript Sideshow- Tagged in:
- testing
- Aug 11 2016
Advancing the Open Web through Test262
In the beginning of 2015, we started another important project for the open web. Of course you haven’t forgotten, but for all the folks just joining us: Google and Bocoup teamed up to improve Test262, the official test suite for the JavaScript language. Our goal was to improve the dependability of the web platform (not […]
Continue ReadingAdvancing the Open Web through Test262- Tagged in:
- testing
- Feb 18 2015
Stabilizing ECMAScript 2015 (ES6): Teaming up with TC39 and Google on Test262
August 14, 2015. Mark your calendars. That’s my next birthday. Another important date is June 18, 2015–it’s when the ECMA General Assembly will vote on and approve the 6th edition of Ecma-262 and usher in the next era of JavaScript. On that day, all those new language features we’ve been coveting/dreading will officially enter our […]
Continue ReadingStabilizing ECMAScript 2015 (ES6): Teaming up with TC39 and Google on Test262- Tagged in:
- performance,
- testing,
- web standards
- Oct 15 2014
A Day at the Races: Avoiding Random Failures in Selenium UI Tests
Selenium is an indispensable tool for developing web applications. It allows developers to write test scripts that control real browsers and ensure their applications behave in the way that users expect. Tests like these make software development much more pleasant–developers can have much greater certainty that their application is functioning correctly even after large refactoring […]
Continue ReadingA Day at the Races: Avoiding Random Failures in Selenium UI Tests- Tagged in:
- performance,
- responsive,
- testing
- Jul 14 2014
Improve Your Tests by Breaking the Rules
For many developers, writing tests is a hassle that would be best put off till tomorrow. For one, nothing can compete with the direct impact of writing great application logic. No user ever shared feedback like, “The UI was really pleasant and the functional tests were well-organized and readable.” There’s not much I can say […]
Continue ReadingImprove Your Tests by Breaking the Rules- Tagged in:
- performance,
- testing
- Dec 12 2013
Effective Unit Testing with AMD
AMD (short for Asynchronous Module Definition) is a JavaScript API specification for structuring modular code. The web abounds with blog posts illustrating its use in front-end application development (and there’s plenty of healthy debate around its necessity, too). The topic of unit testing (despite being integral to the process of software development) does not receive […]
Continue ReadingEffective Unit Testing with AMD- Tagged in:
- performance,
- testing