並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 10 件 / 10件

新着順 人気順

enzymeの検索結果1 - 10 件 / 10件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

enzymeに関するエントリは10件あります。 testreactjavascript などが関連タグです。 人気エントリには 『React+Redux環境に『Jest』と『 Enzyme』を導入し、フロントエンドでのテスト環境を構築しました - Zeals TECH BLOG』などがあります。
  • React+Redux環境に『Jest』と『 Enzyme』を導入し、フロントエンドでのテスト環境を構築しました - Zeals TECH BLOG

    みなさんこんにちは! Zealsでフロントエンドエンジニアとしてインターンをしている栂瀬といいます。 この度Zealsで、テスティングフレームワークのJestを導入しました! 背景や導入にあたっての取り組みなど、何を行なったかを詳しくご紹介していきたいと思います! Jest & Enzyme とは 背景 実際に動かしてみた 【準備】React Componentをテストしよう 実際のテストコードをご紹介 タグの有無をテスト イベントのテスト Reduxのテスト reducerのテスト テストコード勉強会 勉強会のコンテンツ:shallow is faster than mount ?? 検証結果 勉強会の成果 テスト導入のメリット 今後の展望 まとめ Jest & Enzyme とは JestとはFacebookが開発しており、細かい設定なしで簡単にフロントエンドのユニットテストを行うこと

      React+Redux環境に『Jest』と『 Enzyme』を導入し、フロントエンドでのテスト環境を構築しました - Zeals TECH BLOG
    • ENZYME HOKKAIDO 2品目「酵素半熟鶏ささみチーズ」 /2019北海道⑦

      最近、高級おやつ(キウイ缶)が巷で話題ですが、こちらも忘れてはいませんよ(^o^) いただいた3つのパックのうち、2つめの試食レポートになります! 前回(半熟豚ヒレスティック)、なっチョロチョを代表して完食したチョロくんの雄姿を思い出す(*^_^*) 前回の豚ヒレスティックは、最初の食いつきは良かったのですが、食べ慣れない豚肉に苦労したのか女子チームが途中離脱し、残ったのをチョロくんがなっチョロチョを代表して完食という結果でした。チョロくんの責任感にあっぱれ!www 今回は、何といってもみんなが食べ慣れた『鶏ささみ』ですから、きっとだいじょうぶ♪♪♪ さっそく実食です!!! 今回はちゅ~ると一緒に器にのせました。 どうかなどうかな? ガツガツ食べるでしょ鶏ささみ!! え!!!!! なっちゃんがちゅ~るだけ完食して離脱!ガ━━(;゚Д゚)━━ン!! チョロくんも、食べるのをやめてしまってい

        ENZYME HOKKAIDO 2品目「酵素半熟鶏ささみチーズ」 /2019北海道⑦
      • Testing React Hooks With Enzyme and React Testing Library | CSS-Tricks

        DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! As you begin to make use of React hooks in your applications, you’ll want to be certain the code you write is nothing short of solid. There’s nothing like shipping buggy code. One way to be certain your code is bug-free is to write tests. And testing React hooks is not much different from ho

          Testing React Hooks With Enzyme and React Testing Library | CSS-Tricks
        • Next.jsにjestとenzymeを導入する - Qiita

          $ npm install --save-dev babel-jest babel-core babel-preset-env babel-preset-react

            Next.jsにjestとenzymeを導入する - Qiita
          • Enzyme is dead. Now what?

            I'm the maintainer of @wojtekmaj/enzyme-adapter-react-17. I'm here to warn you. Enzyme, a popular utility to test React components, is dead. It's time to move on. Here's why I think so. For a long time, Enzyme has been the 1st choice when it comes to testing React applications, despite of how bumpy the road to Enzyme React 16 support was. Even today, 1/3 of React apps are still being tested using

              Enzyme is dead. Now what?
            • Reactのテストライブラリを比較する - react-test-renderer, enzyme, react-testing-library - Qiita

              Reactのテストライブラリを比較する - react-test-renderer, enzyme, react-testing-library Reactのユニットテストでよく使われるライブラリにenzymeがあります。 enzymeを紹介する記事を見ているとshallowが旨味の一つであり、簡単に単体テストが出来るとよく紹介されるのを見かけます。 Jestと用いられる、enzyme以外のライブラリもいくつかあるようなので、人気な理由とその使い方を備忘録がてら紹介しようと思います。 Jest まずはJestについて簡単に特徴を紹介します。 公式サイト:https://jestjs.io/docs/ja/tutorial-react facebook製のテストフレームワーク create-react-appでデフォルトで入っている React Component のユニットテストに使える

                Reactのテストライブラリを比較する - react-test-renderer, enzyme, react-testing-library - Qiita
              • React Hooks Jest + enzyme + act で useEffect を含むコンポーネントのテストする - かもメモ

                react-create-app で作成した React Hooks を使ったアプリケーションのテストのメモ TL;DR 下書き途中にしたまま数ヶ月が経過してしまったので、少し情報が古くなってしまってるかもですが書きかけていた Jest + enzyme + act で React Hooks のテストをしてみたエントリーを揚げます🍤 Jest Jest · 🃏 Delightful JavaScript Testing GitHub - facebook/jest: Delightful JavaScript Testing. Facebook 製 JavaScript のユニットテストツール群。 Snapshot Test などさまざまな単体テストを書くためのfunction群と、テストを実行するテストランナーが含まれている。 create-react-app で作成したアプリには

                  React Hooks Jest + enzyme + act で useEffect を含むコンポーネントのテストする - かもメモ
                • I tested a React app with Jest, Enzyme, Testing Library and Cypress. Here are the differences.

                  Jest vs Testing Library vs Cypress: The results of the tests are in!You probably know that knowing how to test your code is important.A lot of jobs in tech will require knowledge of testing with at least one testing tool/framework/library. Here we will look to show you how to write tests with three different tools so that you can not only see the differences between them, but also begin to underst

                    I tested a React app with Jest, Enzyme, Testing Library and Cypress. Here are the differences.
                  • Introduction · Enzyme

                    Enzyme Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components' output. You can also manipulate, traverse, and in some ways simulate runtime given the output. Enzyme's API is meant to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal. Upgrading from Enzyme 2.x or React < 16 Are you here to check whether or not Enzyme

                    • Enzyme vs React Testing Library結局どっちがいいのか問題に対する個人的な回答 - Qiita

                      Write tests. Not too many. Mostly integration. * 1 テストを書こう。多く書かなくていい。ほどんどインテグレーションテストでいい。 ReactでコンポーネントのUnit/Integrationテストをする時、現時点で多く使われているのがEnzymeとReact Testing Libraryです。公式Doc上でも両方に言及されていて、どちらか一方が圧倒的な支持を受けている訳でもないです。 この記事では、EnzymeとReact Testing Libraryどっちにしたらいいの??という問題に対して私なりの回答をまとめていきます。端的に言うと、単純にどちらのライブラリが使いやすいかどうか以上に、テストに対する考え方の問題だと考えています。 Enzymeで書く場合 Enzymeではshallow render機能やDOM query selec

                        Enzyme vs React Testing Library結局どっちがいいのか問題に対する個人的な回答 - Qiita
                      1

                      新着記事