About 400 results
Open links in new tab
  1. Testing Overview – React

    React Testing Library is a set of helpers that let you test React components without relying on their implementation details. This approach makes refactoring a breeze and also nudges you …

  2. Testing Recipes – React

    Setup/Teardown For each test, we usually want to render our React tree to a DOM element that’s attached to document. This is important so that it can receive DOM events. When the test …

  3. 测试概览 – React - reactjs.org

    React 测试库 是一组能让你不依赖 React 组件具体实现对他们进行测试的辅助工具。 它让重构工作变得轻而易举,还会推动你拥抱有关无障碍的最佳实践。

  4. Test Utilities – React

    We recommend using React Testing Library which is designed to enable and encourage writing tests that use your components as the end users do. For React versions <= 16, the Enzyme …

  5. テスト概要 – React

    React コンポーネントは他の JavaScript のコードと同じようにテストできます。 React コンポーネントをテストするのにはいくつか方法がありますが、大きく 2 つのカテゴリに分けられ …

  6. 測試概覽 – React - reactjs.org

    React Testing Library 是一系列的 helper 讓你可以測試 React component 而不需要依賴它們的實作細節。 這個方法讓重構變的輕而易舉,也讓你朝著可訪問性的最佳實踐的方向而前進。

  7. Testing Environments – React

    Test runners like Jest, mocha, ava let you write test suites as regular JavaScript, and run them as part of your development process. Additionally, test suites are run as part of continuous …

  8. テストのレシピ集 – React

    テストのレシピ集 React コンポーネントのための一般的なテストのパターン集です。 補足: このページではテストランナーとして Jest を使用することを前提としています。

  9. Recetas sobre pruebas – React

    Por ejemplo, puedes ejecutar pruebas de instantánea en un componente con react-test-renderer, que internamente utiliza render de react-dom dentro de un componente hijo para renderizar …

  10. Основы тестирования – React

    Тестирование React-компонентов аналогично тестированию любого другого JavaScript-кода. Есть несколько способов тестирования React-компонентов.