はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    新内閣発足

『Chai』

  • 人気
  • 新着
  • すべて
  • Chai

    4 users

    www.chaijs.com

    chai-json-schema Chai plugin with assertions to validate values against JSON Schema v4. Assert both simple values and complex objects with the rich collection of validation terms (examples). For general help with json-schema see this excellent guide and usable reference. Notes JSON Schema validation is done by Tiny Validator tv4. It seems that tv4 is not actively developed anymore, nor does it sup

    • テクノロジー
    • 2015/03/04 10:43
    • Chai

      3 users

      www.chaijs.com

      chai-jquery chai-jquery is an extension to the chai assertion library that provides a set of jQuery-specific assertions. Usage Include chai-jquery.js in your test file, after jquery.js and chai.js (version 1.0.0-rc1 or later): <script src="jquery.js"></script> <script src="chai.js"></script> <script src="chai-jquery.js"></script> Note that jquery.js and chai.js can be inserted one before another (

      • テクノロジー
      • 2014/02/07 19:27
      • jquery
      • Chai

        3 users

        www.chaijs.com

        Chai Assertions for Promises Chai as Promised extends Chai with a fluent language for asserting facts about promises. Instead of manually wiring up your expectations to a promise’s fulfilled and rejected handlers: doSomethingAsync().then( function (result) { result.should.equal("foo"); done(); }, function (err) { done(err); } );

        • テクノロジー
        • 2013/12/06 11:22
        • chai
        • promise
        • javascript
        • あとで読む
        • Introduction - Chai

          3 users

          www.chaijs.com

          API Reference The Chai API is broken down by style or task. Assertion Styles The Expect / Should API covers the BDD assertion styles. The Assert API covers the TDD assertion style. Plugins The Plugin API will be of use to anyone interested in building plugins as helpers to DRY up your tests, or for release to the community. Tools The Online Test Suite is a live run of Chai’s test suite. Use it to

          • テクノロジー
          • 2013/06/21 23:41
          • chai
          • reference
          • test
          • あとで読む
          • Assertion Styles - Chai

            4 users

            www.chaijs.com

            Assertion Styles This section of the guide introduces you to the three different assertion styles that you may use in your testing environment. Once you have made your selection, it is recommended that you look at the API Documentation for your selected style. Assert View full Assert API The assert style is exposed through assert interface. This provides the classic assert-dot notation, similar to

            • テクノロジー
            • 2013/05/06 19:14
            • Assert - Chai

              6 users

              www.chaijs.com

              Assert The assert style is very similar to node.js’ included assert module, with a bit of extra sugar. Of the three style options, assert is the only one that is not chainable. Check out the Style Guide for a comparison. API Reference assert(expression, message) @param { Mixed } expression to test for truthiness @param { String } message to display on error Write your own test expressions. assert(

              • テクノロジー
              • 2013/04/12 12:24
              • プログラミング
              • Expect / Should - Chai

                15 users

                www.chaijs.com

                BDD The BDD styles are expect and should. Both use the same chainable language to construct assertions, but they differ in the way an assertion is initially constructed. Check out the Style Guide for a comparison. API Reference Language Chains The following are provided as chainable getters to improve the readability of your assertions. Chains to be been is that which and has have with at of same

                • テクノロジー
                • 2013/03/25 00:55
                • chai
                • node.js
                • javascript
                • reference
                • api
                • test
                • Chai

                  3 users

                  www.chaijs.com

                  Sinon.JS Assertions for Chai Sinon–Chai provides a set of custom assertions for using the Sinon.JS spy, stub, and mocking framework with the Chai assertion library. You get all the benefits of Chai with all the powerful tools of Sinon.JS. Instead of using Sinon.JS’s assertions:

                  • テクノロジー
                  • 2012/06/03 12:31
                  • JavaScript
                  • test
                  • library
                  • Chai

                    72 users

                    www.chaijs.com

                    Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.

                    • テクノロジー
                    • 2011/12/18 20:02
                    • javascript
                    • testing
                    • chai
                    • node.js
                    • テスト
                    • test
                    • bdd
                    • tdd
                    • library
                    • mocha

                    このページはまだ
                    ブックマークされていません

                    このページを最初にブックマークしてみませんか?

                    『Chai』の新着エントリーを見る

                    キーボードショートカット一覧

                    j次のブックマーク

                    k前のブックマーク

                    lあとで読む

                    eコメント一覧を開く

                    oページを開く

                    はてなブックマーク

                    • 総合
                    • 一般
                    • 世の中
                    • 政治と経済
                    • 暮らし
                    • 学び
                    • テクノロジー
                    • エンタメ
                    • アニメとゲーム
                    • おもしろ
                    • アプリ・拡張機能
                    • 開発ブログ
                    • ヘルプ
                    • お問い合わせ
                    • ガイドライン
                    • 利用規約
                    • プライバシーポリシー
                    • 利用者情報の外部送信について
                    • ガイドライン
                    • 利用規約
                    • プライバシーポリシー
                    • 利用者情報の外部送信について

                    公式Twitter

                    • 公式アカウント
                    • ホットエントリー

                    はてなのサービス

                    • はてなブログ
                    • はてなブログPro
                    • 人力検索はてな
                    • はてなブログ タグ
                    • はてなニュース
                    • ソレドコ
                    • App Storeからダウンロード
                    • Google Playで手に入れよう
                    Copyright © 2005-2025 Hatena. All Rights Reserved.
                    設定を変更しましたx