Talk about AVA, which is JavaScript test runner at mentaico.js #1. http://mentaico-js.connpass.com/event/39906/
Talk about AVA, which is JavaScript test runner at mentaico.js #1. http://mentaico-js.connpass.com/event/39906/
JUnitの実行結果のXMLフォーマット | Developers.IO 上記記事に詳しく書いているが、Jenkinsにテスト結果を入力するには「JUnitのXML」と呼ばれる形式で出力する必要がある。 そのXMLに公式な仕様は無い(Schemaはこれ?)ようだが、CIツールのデファクトスタンダードになっているようで、mochaならばxunit-file, mocha-jenkins-reporter, mocha-junit-reporterなどを使えばOK。 avajs/ava: Futuristic JavaScript test runner AVA(えぃゔぁ)は、JavaScriptのテストフレームワーク。power-assertやBabel、Assertion Planning(参考記事:おまえは今まで実行したassertの回数を覚えているのか?あるいは新しいアサーションユーテ
ExamplesUsing a fixed version: unpkg.com/react@16.7.0/umd/react.production.min.jsunpkg.com/react-dom@16.7.0/umd/react-dom.production.min.jsYou may also use a semver range or a tag instead of a fixed version number, or omit the version/tag entirely to use the latest tag. unpkg.com/react@^16/umd/react.production.min.jsunpkg.com/react/umd/react.production.min.jsIf you omit the file path (i.e. use a “
最近聞かれなくなってきた Isomorphic JavaScript ですが、気付けば今は Universal JavaScript と呼ばれているらしいです。 そもそも日本語の記事が少なくて困ったので、色々調べたものを整理するために書きます。 とても簡単にふわっとまとめると、以下のような感じ。 SPA で問題となるのがSEO対策、初回ロード時間 SSR はこれを解決してくれるが、クライアントとサーバでロジックの重複が発生 同じコードをクライアントとサーバで実行しよう = Isomophic! 同じコードをネイティブアプリやデスクトップアプリや組み込みデバイスでも実行しよう = Universal! なぜ Isomorphic JavaScript なのか まず、なぜ Isomorphic という概念が出てきたのかについて。 シングルページアプリケーションにおける問題 2013年頃から、シ
Notes de l'éditeur* すでにQiitaや毛色の違うイベントで発表済みのネタなんでもしかしたら知っているかも * Node.jsでサーバやワーカをつくっている * 大量のコネクションをもつNode.jsサーバでのエラー処理が難しいということをここ1ヶ月くらいで考えていたので、自分なりにまとめてみたNede.jsはシングルプロセスシングルスレッドで稼働するイベントループモデルの実行環境となっています。 図のように、待ちが発生する処理をイベントループに積んでタスクを順次実行していくのでシングルスレッドでも遅くなることがないと言われています。 逆に待つ処理を入れてしまうのはよくないやり方です。エラー処理もJavaとかPythonと比べると異なるやり方をとっていて、非同期I/O処理時のエラーは図のようにイベントのコールバックとして受け取ったり、ライブラリだとエラーオブジェクトとして
Real-World JavaScript Performance Toon Verwaest Camillo Bruni
Experimenting with window.onerror , trying to make JavaScript debugging easy. What does it do? As of now, it provides JavaScript error details in a readable format. Planning to add more functionality later where turning on the debugging mode will throw error details on the screen. Example Lets take a simple code snippet which will raise an exception. var test = a + 1; //a is not defined Instead of
はじめまして Yuji Sugiura / @leader22 フロントエンド・エンジニア at PixelGrid Inc. 前々回にイカの話してたやつです 最近は仕事でなぜかコードゴルフ⛳してます JavaScriptに型をつけるやつ // いままで let eventName: string = 'Node学園'; eventName = 21; // @flow let eventName: string = 'Node学園'; eventName = 21; // This type is incompatible with string 新たな言語ではない🍀 あとから型の注釈をつけていく Facebook製 最新のバージョンは0.27.0
Since a few months I’ve stopped using React’s setState on all my new React components. Don’t get me wrong, I didn’t stop having local component state, I just stopped using React to manage it. And it’s been delightful! Using setState is tricky for beginners. Even experienced React programmers easily introduce subtle bugs when using React’s own state mechanism, like this: Bug introduced by forgettin
Getting started Kakapo its a full featured http mocking library, he allows you to entirely replicate your backend logic in simple and declaritive way directly in the browser. This way you can easily prototype and develop the whole Application without backend and just deactivate Kakapo when you go production. In order to achieve that Kakapo gives you a set of utilities like Routing, Database, Respo
先にまとめを書いておきます GitHubの大量のIssue/PRを効率的に閲覧できるJasperというソフトウェアを作りました 閲覧したいIssueのStream(RSSフィードみたいなもの)を好きな条件で作成することができます 条件はメンションされた、作成した、特定のリポジトリなど、かなり柔軟に設定できます Mac/Windowsの両方に対応しており、$12で販売中です無料で使えます 30日間のフリートライアル版もあります 背景 ソフトウェアエンジニアとして仕事や個人で活動をしていると、GitHubやGitHub Enterprise(GHE)を使うことが多いと思います。 僕も仕事ではGHEを使っており、個人ではOSSを作っているのでプライベートな活動でもGitHubをよく使っています。 そんなGitHubですが、一つ大きな不満があります。 それはIssueやPull Request(P
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く