An assertion library for enzyme. This library supports several testing frameworks including Jest and Jasmine.
https://github.com/FormidableLabs/enzyme-matchersTags | jest jasmine enzyme tdd unit-testing shallow-rendering shallowrender test reactjs react flux testing test-utils assertion-helpers |
Implementation | Javascript |
License | MIT |
Platform | OS-Independent |
Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.Enzyme's API is meant to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal.
enzyme react mocha react-components ava jest chai assertion-library traversal test-runners test testing assertions shallow-rendering shallowrender reactjs flux test-utils assertion-helpers tddChai.js assertions for enzyme. You can also provide a custom debug function that can print useful information about the wrapper that you are using.
shallow-rendering shallowrender test reactjs react flux testing test-utils assertion-helpers tdd mocha chai chaijs enzymeA huge library of test matchers for a range of common use-cases, compatible with all versions of Jasmine and Jest. Custom Matchers make tests easier to read and produce relevant and useful messages when they fail.
jasmine testing karma jest javascript-tests bdd tdd assertions expectations expects test-matchersJest is an amazing test runner and has some awesome assertion APIs built in by default. However there are times when having more specific matchers (assertions) would be far more convenient. If you've come here to help contribute - Thanks! Take a look at the contributing docs as a way of getting started.
jest matchers assertions testing tdd extended extend testYou want to use jest to write tests that assert various things about the state of a DOM. As part of that goal, you want to avoid all the repetitive patterns that arise in doing so. Checking for an element's attributes, its text content, its css classes, you name it. The @testing-library/jest-dom library provides a set of custom jest matchers that you can use to extend jest. These will make your tests more declarative, clear to read and to maintain.
testing dom jest jest-matchers jsdom custom-matcher react-testing-library dom-testing-libraryThis is Part 2 of the series "Modular Isomorphic React JS applications". See Part 1 and Part 3 for more. Unit testing React is traditionally done using Jest which dictates the use of the Jasmine testing framework, and enforces mocking of all require calls. For such an unopinionated rendering engine, this is a very opinionated setup, resulting in issues such as overly-verbose unmocking of requires, and being tied into Jasmine's limited framework.
Must.js is a testing and assertion library for JavaScript and Node.js with a friendly BDD syntax (awesome.must.be.true()). It ships with many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well testsed stuff. For those new to testing JavaScript on Node.js, you'll also need a test framework (also called a test-runner or a harness) to run your tests. One such tool is Mocha.
assert assertion bdd test testing rfc2119AVA is a test runner for Node.js with a concise API, detailed error output, embrace of new language features and process isolation that lets you develop with confidence. AVA automatically detects whether your CI environment supports parallel builds. Each build will run a subset of all test files, while still making sure all tests get executed. It automatically removes unrelated lines in stack traces, allowing you to find the source of an error much faster.
test-runner test-framework assertion unit-testing babel tap cli tdd assertMyTested.AspNetCore.Mvc is a unit testing library providing an easy fluent interface to test the ASP.NET Core MVC framework. It is testing framework agnostic so that you can combine it with a test runner of your choice (e.g. xUnit, NUnit, etc.). It is strongly advised to start with the tutorial in order to get familiar with MyTested.AspNetCore.Mvc. Additionally, you may see the testing guide or the API reference for a full list of available features. MyTested.AspNetCore.Mvc is 100% covered by more than 1800 unit tests and should work correctly. Almost all items in the issues page are expected future features and enhancements.
asp-net-core mvc fluent-testing assertion-methods assertion-library asp-net-core-mvc test-frameworkJust the right amount of abstraction for writing clear, and concise React component tests. Teaspoon is test environment agnostic, so you can (and should) bring your own test runner and frameworks. If you plan on doing normal component rendering (not just shallow rendering) you will also need a DOM environment, whether that's a browser, headless browser, or jsdom.
react test queryRedux Saga Test Plan makes testing sagas a breeze. Whether you need to test exact effects and their ordering or just test your saga put's a specific action at some point, Redux Saga Test Plan has you covered. Redux Saga Test Plan aims to embrace both integration testing and unit testing approaches to make testing your sagas easy.
redux-saga testing-sagas testing redux-saga-testing unit-testing integration-testing redux saga test tdd bddreact-fake-props parses your Component prop types using react-docgen and generates fake props. Supports Flow and PropTypes. Works great with Jest snapshots and Enzyme.To include optional props, pass { optional: true }.
react test enzyme props proptypes flow fake react-docgenChutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha, CoffeeScript and TypeScript. For comments, praise, complaints you can reach me on twitter at @mmanela.
chutzpah visual-studio testing-tools tdd typescriptChai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. For more information or to download plugins, view the documentation.
assertions chai tdd bdd test assertion assert testingThis library will be deprecated once vue-test-utils is released.
vuejs vuejs2 testing testing-tools test-driven-development tests vue-testing vue-testing-tools vuesjs2-testing vue-test-utils vue-testing-utilities vue-test-utilities vue vue-test avoriaz vue-testing-framework test-vue vue.js vue.js-2 vue.js-test vue.js-2-test vue-2-test vue-testing-utils vue.js-testing-utils vue-2-testing-utils vue.js-2-testing-utils vue.js-testing-utilities vue-2-testing-utilities vue.js-2-testing-utilitiesFluent interface for writing .NET unit test assertions with more clarity than the traditional assertion syntax such as offered by MSTest, NUnit or XUnit.
tdd assertions bdd fluent testing unit-testing fluent-interfaceMyTested.WebApi is a unit testing library providing easy fluent interface to test the ASP.NET Web API 2 framework. It is testing framework agnostic, so you can combine it with a test runner of your choice (e.g. NUnit, xUnit, etc.). Inspired by ChaiJS. Please see the documentation for full list of available features. Everything listed in the documentation is 100% covered by more than 800 unit tests and should work correctly. Almost all items in the issues page are expected future features and enhancements.
asp-net webapi fluent-testing aspnet-web-api fluent-assertions test-framework assertion-libraryQuixote is a library for testing CSS. It's fast—over 100 tests/second—and has a powerful API. You can use it for unit testing (test your CSS files directly) or integration testing (test against a real server). Either way, your tests check how HTML elements are actually rendered by the browser. Quixote runs in the browser and works with any test framework. You can even test multiple browsers simultaneously by using a tool such as Karma or Test'em. It works in modern desktop browsers, mobile browsers, and IE 8+.
css test tdddoctest is a new C++ testing framework but is by far the fastest both in compile times (by orders of magnitude) and runtime compared to other feature-rich alternatives. It brings the ability of compiled languages such as D / Rust / Nim to have tests written directly in the production code by providing a fast, transparent and flexible test runner with a clean interface. The framework is and will stay free but needs your support to sustain its development. There are lots of new features and maintenance to do. If you work for a company using doctest or have the means to do so, please consider financial support. Monthly donations via Patreon and one-offs via PayPal.
c-plus-plus doctest tdd testing unit-testing header-only cplusplus cpp cpp11 cpp14 cpp17 single-file test-framework
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.