dom-testing-library - 🐙 Simple and complete DOM testing utilities that encourage good testing practices

  •        12

Simple and complete DOM testing utilities that encourage good testing practices. You want to write maintainable tests for your Web UI. As a part of this goal, you want your tests to avoid including implementation details of your components and rather focus on making your tests give you the confidence for which they are intended. As part of this, you want your testbase to be maintainable in the long run so refactors of your components (changes to implementation but not functionality) don't break your tests and slow you and your team down.

https://github.com/kentcdodds/dom-testing-library#readme
https://github.com/kentcdodds/dom-testing-library

Dependencies:

pretty-format : ^22.4.3
mutationobserver-shim : ^0.3.2
wait-for-expect : ^0.4.0

Tags
Implementation
License
Platform

   




Related Projects

react-testing-library - 🐐 Simple and complete React DOM testing utilities that encourage good testing practices

  •    Javascript

Simple and complete React DOM testing utilities that encourage good testing practices. You want to write maintainable tests for your React components. As a part of this goal, you want your tests to avoid including implementation details of your components and rather focus on making your tests give you the confidence for which they are intended. As part of this, you want your testbase to be maintainable in the long run so refactors of your components (changes to implementation but not functionality) don't break your tests and slow you and your team down.

testing-workshop - A workshop for learning how to test JavaScript applications

  •    Javascript

👋 hi there! My name is Kent C. Dodds! This is a workshop repo to teach you about testing JavaScript applications.Big thanks to the RealWorld project from GoThinkster. This project is a copy of the Node implementation and the React implementation of the RealWorld project.

ionic-unit-testing-example - Example of adding unit testing in your Ionic 2

  •    TypeScript

This repository is an example project that gives guidance on setting up your Ionic application for unit testing and end-to-end (E2E) testing. We have been told the folks at Ionic will be adding testing features to new projects in the future. But until then, feel free to borrow from this project as needed. Special thanks to all of the contributors. With the exception of the Ionic team's updates to the framework, this project is stable. If you have a suggestion, feel free to update code and make a pull request. Find a problem or bug, feel free to file a detailed issue.

tobi - Tobi: Expressive server-side functional testing with jQuery

  •    Javascript

Expressive server-side functional testing with jQuery and jsdom. Tobi allows you to test your web application as if it were a browser. Interactions with your app are performed via jsdom, htmlparser, and jQuery, in combination with Tobi's Cookie Jar, provides a natural JavaScript API for traversing, manipulating and asserting the DOM, and session based browsing.


detox - Gray Box End-to-End Testing and Automation Framework for Mobile Apps

  •    Javascript

Gray box end-to-end testing and automation library for mobile apps. High velocity native mobile development requires us to adopt continuous integration workflows, which means our reliance on manual QA has to drop significantly. Detox tests your mobile app while it's running in a real device/simulator, interacting with it just like a real user.

KIF - Keep It Functional - An iOS Functional Testing Framework

  •    Objective-C

IMPORTANT! Even though KIF is used to test your UI, you need to add it to your Unit Test target, not your UI Test target. The magic of KIF is that it allows you to drive your UI from your unit tests and reap all the advantages of testing in-process. KIF, which stands for Keep It Functional, is an iOS integration test framework. It allows for easy automation of iOS apps by leveraging the accessibility attributes that the OS makes available for those with visual disabilities.

burnside - Fast and Reliable E2E Web Testing with only Javascript

  •    Javascript

Burnside is an easy to use, modular, and extendable End to End (E2E) testing tool. Burnside leverages the flexibility of JavaScript and the power of modern Browser APIs to inject logic and scripting into your website, without the slowdown of networking for every individual command. Burnside is a modular ecosystem based on a core that runs inside of a Browser. The CLI bundles Karma and Webpack to load your tests within Chrome, but you can use Burnside's core with any Test Runner you'd like to set up.

jsdom - A JavaScript implementation of the WHATWG DOM and HTML standards, for use with node.js

  •    Javascript

jsdom is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js. In general, the goal of the project is to emulate enough of a subset of a web browser to be useful for testing and scraping real-world web applications.As of v10, jsdom has a new API (documented below). The old API is still supported for now; see its documentation for details.

jsdom - A JavaScript implementation of the WHATWG DOM and HTML standards, for use with node.js

  •    Javascript

jsdom is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js. In general, the goal of the project is to emulate enough of a subset of a web browser to be useful for testing and scraping real-world web applications. As of v10, jsdom has a new API (documented below). The old API is still supported for now; see its documentation for details.

chimp - Develop acceptance tests & end-to-end tests with realtime feedback

  •    Javascript

An awesome developer-centric experience to writing tests with realtime feedback using Mocha, Jasmine or Cucumber.js. Chimp can be used with any technology stack as it allows your to write your test automation in the language of the web: JavaScript.

cheerio - Fast, flexible, and lean implementation of core jQuery designed specifically for the server

  •    Javascript

❤ Familiar syntax: Cheerio implements a subset of core jQuery. Cheerio removes all the DOM inconsistencies and browser cruft from the jQuery library, revealing its truly gorgeous API.ϟ Blazingly fast: Cheerio works with a very simple, consistent DOM model. As a result parsing, manipulating, and rendering are incredibly efficient. Preliminary end-to-end benchmarks suggest that cheerio is about 8x faster than JSDOM.

Inferno - An extremely fast, React-like JavaScript library for building modern user interfaces

  •    Javascript

Inferno is an insanely fast, 9kb React-like library for building high-performance user interfaces on both the client and server. Inferno aims to provide all the great benefits that React does, plus other great features for people already familiar with the React ecosystem, such as: lifecycle events on functional components, server side render streams, better real-world performance, lower memory consumption and faster parse/load times.

atomus - A small utility library for running client-side tests in Node.js environment

  •    Javascript

A small utility library for testing client-side code in Node.js environment. Simulate the browser in your terminal. We all know about Selenium and PhantomJS. They work well for testing client-side code. We may visit a page, fill forms, click buttons etc. However, it gets complex if we want to test only part of our application. We have to create a page that contains only the needed pieces. This definitely does not scale.

panther - A browser testing and web crawling library for PHP and Symfony

  •    PHP

Panther is a convenient standalone library to scrape websites and to run end-to-end tests using real browsers. Panther is super powerful, it leverages the W3C's WebDriver protocol to drive native web browsers such as Google Chrome and Firefox.

PREACT - Fast 3kB alternative to React, with the same ES2015 API

  •    Javascript

PREACT is a fast 3kB alternative to React, with the same ES2015 API. It provides the thinnest possible Virtual DOM abstraction on top of the DOM. The web is a stable platform, it's time we stopped reimplementing it in the name of safety. Preact is also a first-class citizen of the web platform. It diffs Virtual DOM against the DOM itself, registers real event handlers, and plays nicely with other libraries.

Protractor - End to End test framework for Angular apps

  •    Javascript

Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.

React - JavaScript library for building user interfaces

  •    Javascript

React is a JavaScript library for building user interfaces. Lots of people use React as the V in MVC. React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes. React can also render on the server using Node and power mobile apps using React Native.

Alfajor - Tasty functional testing

  •    Python

Alfajor provides a modern, object-oriented and browser-neutral interface to HTTP resources. Python scripts and test code have a live synchronized mirror of the browser's X/HTML DOM, even with DOM changes made on the client by JavaScript. It has an Api client with native JSON response support useful for testing REST and web API.