並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 9 件 / 9件

新着順 人気順

Enzymeの検索結果1 - 9 件 / 9件

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

Enzymeに関するエントリは9件あります。 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
    • Balancing Old Tricks with New Feats: AI-Powered Conversion From Enzyme to React Testing Library at Slack - Slack Engineering

      Balancing Old Tricks with New Feats: AI-Powered Conversion From Enzyme to React Testing Library at Slack In the world of frontend development, one thing remains certain: change is the only constant. New frameworks emerge, and libraries can become obsolete without warning. Keeping up with the ever-changing ecosystem involves handling code conversions, both big and small. One significant shift for u

        Balancing Old Tricks with New Feats: AI-Powered Conversion From Enzyme to React Testing Library at Slack - Slack Engineering
      • 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?
            • 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

                • Reactのテストライブラリを比較する - react-test-renderer, enzyme, react-testing-library - Qiita

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

                    Reactのテストライブラリを比較する - react-test-renderer, enzyme, react-testing-library - Qiita
                  • 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

                    新着記事