cypress-axe VS cypress-testing-library

Compare cypress-axe vs cypress-testing-library and see what are their differences.

cypress-axe

Test accessibility with axe-core in Cypress (by component-driven)

cypress-testing-library

🐅 Simple and complete custom Cypress commands and utilities that encourage good testing practices. (by testing-library)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
cypress-axe cypress-testing-library
5 4
604 1,787
1.2% 0.1%
1.9 5.4
2 months ago 7 months ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cypress-axe

Posts with mentions or reviews of cypress-axe. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-07.
  • ✨ Accessibility: a gentle introduction ✨
    2 projects | dev.to | 7 Oct 2021
    If you’re setting up automated tests (and you probably should), you can even integrate axe with Cypress
  • Automated Accessibility Testing
    7 projects | dev.to | 21 Sep 2021
    The same engine can be used with Cypress, thanks to the cypress-axe package. It adds several custom commands to the Cypress API, which utilizes “axe-core” under the hood. It makes it possible to perform a11y audits directly while testing.
  • Starting Your Accessibility Journey: A Developers Guide
    5 projects | dev.to | 1 Jun 2021
    Cypress
  • Writing end-to-end tests in 2021
    2 projects | dev.to | 30 Mar 2021
    Luckily for us, there’s a new player in town. Cypress is a great tool that provides us with a modern solution for creating, running and maintaining code. Combined with Cypress Testing Library and the accessibility audit tool aXe, you’ll have all the tools you need to gain confidence in your application, and to never deal with manual verifications in prod ever again.
  • Accessibility Scanning Tools
    1 project | /r/Frontend | 18 Feb 2021
    Maybe: https://github.com/component-driven/cypress-axe/issues/82

cypress-testing-library

Posts with mentions or reviews of cypress-testing-library. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-08.
  • Buenas prĂĄcticas con Angular Testing Library
    5 projects | dev.to | 8 Apr 2022
  • Automated Accessibility Testing
    7 projects | dev.to | 21 Sep 2021
    One of the additional layers you can add to make sure you are building a good, accessible app, is to use “accessible queries” for elements you interact with in the tests. In other words, you find elements by text, labels, roles, aria-attributes, etc., rather than using the IDs or data-test attributes. This applies to all layers of testing. There is a very useful project called Testing Library, which provides you with UI-centric queries out of the box. It has a separate package for many different testing methods and libraries, including the Cypress one: Cypress Testing Library.
  • Cypress.io flakiness making me crazy
    2 projects | /r/softwaretesting | 16 Jun 2021
    Is it a react app? Could be dom churn on the CI? In which case you might take a look at this: potential fix in the CTL.
  • Cypress vs. Testing Library?
    1 project | /r/reactjs | 3 Mar 2021
    From doing some research it seems like most people use Testing Library for unit / integration testing and Cypress for E2E testing, but from reading the documentation of both it seems like you can use them for the same thing. There is also even a Cypress Testing Library to make things even more confusing. So what do you do? Use Testing Library for unit / integration testing and Cypress for E2E? Use Testing Library for everything? Use Cypress for everything? I'm just really curious what people think about this (and it seems like I'm not the only one.

What are some alternatives?

When comparing cypress-axe and cypress-testing-library you can also consider the following projects:

cypress-real-events - Fire native system events from Cypress.

axe-core-maven-html - Tools for using axe for web accessibility testing with JUnit, Selenium, and Playwright

cypress-plugin-tab - A cypress plugin to add a tab command

cypress-realworld-app - A payment application to demonstrate real-world usage of Cypress testing methods, patterns, and workflows.

axe-core-npm

Cypress - Fast, easy and reliable testing for anything that runs in a browser.

axe-core - Accessibility engine for automated Web UI testing

axe-testcafe - The helper for using Axe in TestCafe tests

atl-good-testing-practices