
5.0.0 / 2018-01-17 Mocha starts off 2018 right by again dropping support for unmaintained rubbish. Welcome @vkarpov15 to the team! 💥 Breaking Changes #3148: Drop support for IE9 and IE10 (@Bamieh) Practically speaking, only code which consumes (through bundling or otherwise) the userland buffer module should be affected. However, Mocha will no longer test against these browsers, nor apply fixes f
What you'll learn Best practices on how to organize tests, log in, and control state Strategies for selecting elements and assigning return values Best practices on visiting external sites How to avoid relying on the state of previous tests When to use after or afterEach hooks How to avoid unnecessary waiting in your tests Setting a global base URL for your tests to save time The Cypress team mai
But really, what is a JavaScript test?January 1st, 2018 — 9 min read Testing software. There are a ton of reasons we do it. Here are two of mine: Speeds up my workflow so I can develop software faster Helps me ensure I don't break existing code when making changes That said, I have a few questions for you (these are twitter polls): Have you ever written a JavaScript test? Have you ever used a Java
元旦に思い立って表題の通りにする過程で色々調べたメモ。TypeScript+色々系はいまいちまとまったのがないので参考になれば。 背景 上記全環境で動作予定がある、小規模だけど少しめんどくさい処理をするライブラリ(lazy-event-router イカガカプロジェクト用)を書いてたので、CI謎テストこけを直しついでに今風に刷新することにした。できるだけデフォルトに沿い極力設定を書かない方針でいった。個人的にあんま使わないのでwatch系はなし。タスクランナーはnpm scripts。 本体コード コードは全部TypeScriptで、babelは使わずtscとwebpackだけでES2015とES5(IE用)にトランスパイルする基本構成に。tsconfig.jsonとwebpack.config.js・webpack.config.es5.jsのみでこれはいける。tsconfigにtarg
Jest is a testing framework maintained by Facebook that works great with Puppeteer, a library for controlling Headless Chrome. In this post we will go over how to: Setup Jest, Puppeteer and BabelUse Puppeteer’s API to emulate a mobile device, use selectors, scroll a page, listen to requests, and return response dataWrite tests that are asynchronous and make assertions in JestPuppeteer is still und
A software developer living his passion of development since 2003. In addition to always trying to improve his skills, he’s also a proud husband and an avid gamer. Introduction Angular is one of the most popular front-end frameworks around today. Developed by Google, it provides a lot of functionality out of the box. Like its predecessor, AngularJS, it was built with testing in mind. By default, A
Today we are announcing a new major version of Jest which refines almost all parts of Jest to provide a more solid testing foundation. Together with the Jest community we made a number of changes across the board that will help you get more out of Jest. We are also graduating the custom runners feature out of the experimental stage and added a new package, jest-worker, for parallelizing work acros
tl;dr babel-plugin-transform-flow-to-gen is a Babel transform for using Flow annotations to generate randomized test inputs. This post is about getting more value out of your JavaScript testing suite. It’s a post about having a sense of confidence that your tests will not only guard against regression bugs, but find new ones. It’s a post about testing properties of a program rather than checking f
Oct 30, 20172 likes1,769 viewsAI-enhanced description The document discusses property-based testing and its advantages over example-based testing. It describes how property-based testing uses generators to generate random inputs from the set of all possible inputs for a function. This allows tests to cover a wide range of cases rather than just specific examples. It also discusses how property-bas
Introduction Hello, I'm Arthur Guiot, I created DisplayJS not that long ago, and I figured out that I couldn't find an easy to setup testing framework. So, I wanted to create my own, and here it is. EyeJS is easy to setup, and has some unique features, such as the ability to test your project right in a browser, which make it adapted to real world test. Installation We recommend using node 8, but
4.0.0 / 2017-10-02 You might want to read this before filing a new bug! 😝 💥 Breaking Changes For more info, please read this article. Compatibility #3016: Drop support for unmaintained versions of Node.js (@boneskull): 0.10.x 0.11.x 0.12.x iojs (any) 5.x.x #2979: Drop support for non-ES5-compliant browsers (@boneskull): IE7 IE8 PhantomJS 1.x #2615: Drop Bower support; old versions (3.x, etc.) wi
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く