タグ

libraryとarticleとtestingに関するefclのブックマーク (3)

  • Replacing Mocha with Jest

    When everything works and clients are happy, sometimes we forget to upgrade stuff. That’s how a jsdom version from 2016 ended up in our testing stack. If you used Mocha earlier for testing web apps, you already know that you have to set up jsdom manually. I decided to replace Mocha with Jest while I was searching jsdom’s issue tracker and run into a post. It was about changing something in the pre

    efcl
    efcl 2020/01/27
    MochaからJestへのマイグレーション方法について。 Mochaの機能のJestでの代用方法について紹介されている。
  • An Overview of JavaScript Testing in 2020

    (Updated on: 21.11.2021) This guide is intended to catch you up with the most important reasoning, terms, tools, and approaches to JavaScript testing for the year 2022. It combines information from the best articles recently released (they are referenced at the bottom) and adds from my own experience. It’s a little long but whoever reads and understands this guide, can safely assume they know the

    An Overview of JavaScript Testing in 2020
    efcl
    efcl 2017/05/15
    JavaScriptのテストツールについてのまとめ記事。 Unit Tests/Integration Tests/Functional Testsといったテスト分類やテストツールの種類ごとにテストツールを紹介してる
  • ライブラリをES2015(ES6)で書いて公開する所から始めよう

    この記事はECMAScript 2015の事始めとして、ライブラリをECMAScript 2015で書いて公開するというところから始めるのがいいのではという内容です。 ECMAScript 2015(ES2015)はES6とも呼ばれていてどちらも同じものを指しますが、この記事ではES2015に統一します。 ECMAScriptのバージョンについては次のページを参照してください。 ECMAScript · JavaScriptの入門書 #jsprimer 2018-12-27: 追記 textlint/textlint-rule-helperのmasterはTypeScriptの実装へ変換されています。 Babelの実装はhttps://github.com/textlint/textlint-rule-helper/tree/2.0.1から参照できます Babel から TypeScrip

    ライブラリをES2015(ES6)で書いて公開する所から始めよう
    efcl
    efcl 2015/01/10
    ES6でライブラリを書いて、テストしてnpmに公開するまでの流れ。 6to5+power-assert+mochaの組み合わせを設定ファイルレスで行う話
  • 1