Software Alternatives & Startups

Exercism VS react-testing-library

Compare Exercism VS react-testing-library and see what are their differences

Note: These products don't have any matching categories. If you think this is a mistake, please edit the details of one of the products and suggest appropriate categories.

Exercism logo Exercism

Download and solve practice problems in over 30 different languages.

react-testing-library logo react-testing-library

[`React Testing Library`][gh] builds on top of `DOM Testing Library` by adding
  • Exercism Landing page
    Landing page //
    2023-06-28
  • react-testing-library Landing page
    Landing page //
    2022-08-21

Exercism features and specs

  • Free Access
    Exercism provides free access to a wide range of coding exercises and learning resources, making it accessible to everyone regardless of their financial situation.
  • Mentorship
    Offers personalized mentorship from experienced developers who can provide feedback and guidance on your code submissions.
  • Wide Variety of Languages
    Supports numerous programming languages, which allows users to learn and practice coding in multiple languages.
  • Structured Learning Tracks
    Organizes exercises into structured tracks, guiding learners through progressively challenging problems in a logical order.
  • Community Support
    Has an active community forum where users can discuss problems, share insights, and ask for help.
  • Open Source Contributions
    Encourages contributions to the platform itself, offering an opportunity for users to give back and improve the resources available to others.
  • Focus on Clean Code
    Emphasizes writing clean, well-documented code, which is beneficial for developing best practices.

Possible disadvantages of Exercism

  • Variable Mentorship Quality
    The quality of mentorship can vary, as it depends on the availability and expertise of volunteer mentors.
  • Learning Curve
    There can be a steep learning curve for beginners who may find some exercises too challenging without sufficient initial guidance.
  • Limited Interactivity
    Exercises are primarily text-based without interactive or visual learning aids, which might be less engaging for some users.
  • Dependence on Volunteers
    The platform relies heavily on volunteer mentors, which can lead to delays in getting feedback and may affect the consistency of support.
  • Interface Complexity
    Some users find the interface and workflow somewhat complex and unintuitive, particularly for those new to the platform.
  • No Real-Time Collaboration
    Lacks real-time collaboration features, meaning users cannot code together or get instant feedback.
  • Focus on Individual Learning
    The platform predominantly focuses on individual learning rather than collaborative projects, which can be a downside for those looking to develop team-working skills.

react-testing-library features and specs

  • Focused on user-centric testing
    React Testing Library encourages tests that closely resemble how users interact with an application. This approach makes tests more reliable and meaningful.
  • Reduces coupling to implementation details
    By encouraging developers to interact with components via the DOM, the library minimizes dependencies on component internals, making tests less prone to breaking from refactors.
  • Improved test readability
    Tests written with React Testing Library are generally easier to read and understand because they focus on what the user sees and does, rather than the internal logic of the components.
  • Comprehensive query options
    The library provides a wide range of query methods (e.g., getByText, getByRole), which makes it easy to select elements in ways that resemble how users think.
  • Active community and well-maintained
    React Testing Library has a strong, active community and it's maintained by experienced developers who keep the library up-to-date with React's evolution.

Possible disadvantages of react-testing-library

  • Limited support for non-DOM testing
    The library is heavily focused on DOM interactions, making it less suited for testing non-DOM logic or scenarios that don't involve user interactions.
  • Can be slower
    Tests that involve the DOM can be slower compared to tests that interact directly with component methods and state, which can lead to longer test execution times.
  • Learning curve for traditional testers
    Developers who are used to testing implementation details with other tools (like Enzyme) might find it challenging to adjust to the user-centric approach advocated by React Testing Library.
  • Potential for less granular control
    Because the library encourages testing through the UI, developers might find it harder to test specific, isolated internal behaviors of components that aren't directly visible to users.
  • Dependencies on browser APIs
    The library's reliance on browser APIs means that tests may behave differently in different environments or may require polyfills for certain features, leading to potential inconsistencies.

Analysis of Exercism

Overall verdict

  • Yes, Exercism is considered good for learning and improving programming skills.

Why this product is good

  • Exercism offers free access to a wide variety of exercises in over 50 different programming languages, catering to both beginners and experienced programmers.
  • The platform provides a unique mentorship model where volunteers review submitted solutions, offering personalized feedback and guidance.
  • The exercises are well-structured, facilitating both practice and mastery of language-specific concepts and problem-solving skills.
  • Exercism encourages learning through doing, promoting an active learning environment which can be more effective compared to passive learning styles.
  • The platform allows for self-paced learning, enabling users to progress at their own speed and revisit topics as needed.

Recommended for

  • Beginner programmers seeking practical coding exercises to reinforce their learning.
  • Intermediate and advanced developers looking to hone their skills or learn new programming languages.
  • Individuals who appreciate personalized feedback and mentorship to improve their coding practices.
  • Students and educators searching for supplementary resources to support coursework or syllabus requirements.
  • Professionals aiming to practice coding interview problems and enhance their problem-solving abilities.

Analysis of react-testing-library

Overall verdict

  • React Testing Library is highly regarded in the React community for its simplicity and effective approach to testing React components. It’s known for promoting good testing practices that result in reliable and maintainable code.

Why this product is good

  • React Testing Library is considered good because it encourages testing practices that closely resemble how users interact with the application. It emphasizes testing components from the user's perspective and discourages testing implementation details, which can lead to more robust and maintainable tests.

Recommended for

  • Developers looking to improve the reliability of their React applications
  • Teams interested in adopting user-centric testing methodologies
  • Projects that prioritize maintainable and understandable test code

Exercism videos

Learn with Exercism.io

More videos:

  • Review - JavaScript Exercise | Learn JavaScript with Exercism | #0 Setup
  • Review - exercism.io 01 hello-world

react-testing-library videos

React unit testing with Jest & React-testing-library

More videos:

  • Review - Test a React Component that renders a list with react-testing-library

Category Popularity

0-100% (relative to Exercism and react-testing-library)
Online Learning
100 100%
0% 0
Developer Tools
0 0%
100% 100
Online Education
100 100%
0% 0
Javascript UI Libraries
0 0%
100% 100

User comments

Share your experience with using Exercism and react-testing-library. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Exercism and react-testing-library

Exercism Reviews

LeetCode Alternatives: Top platforms for coding practice
What are LeetCode and LeetCode alternatives good for?LeetCode💡Interested in leveling up your career? Apply to the Formation Fellowship today!ApplyHackerRankCodeSignalAlgoExpertCodewarsGeeksforGeeksEdabitExercismTopCoderShould you use LeetCode for advanced interview prep?Get holistic interview prep with Formation
Source: formation.dev
8 Best LeetCode Alternatives and Similar Platforms
Exercism is the alternative to LeetCode learning platform, with over 4000 activities in up to 52 popular programming languages. It is very different from other comparable programming websites in that it emphasizes solo practice and also mentor-based learning. The greatest part about this software is to have an active developer community that assists novices all around the...
The 10 Most Popular Coding Challenge Websites [Updated for 2021]
Exercism is a coding challenge website that offers 3100+ challenges spanning 52 different programming languages. After picking a language that you'd like to master, you tackle the coding challenges right on your machine (Exercism has their own command line interface that you can download from GitHub).
Top 25 websites for coding challenge and competition [Updated for 2021]
Best qualities: Exercism starts off with language tracks that allow users to choose their preferred languages. Moreover, there are human mentors who will check your code and help you improve as you progress. This makes the platform perfect for total beginners who want to deepen their understanding of a new programming language.

react-testing-library Reviews

We have no reviews of react-testing-library yet.
Be the first one to post

Social recommendations and mentions

Based on our record, Exercism should be more popular than react-testing-library. It has been mentiond 318 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Exercism mentions (318)

  • AI made me lazy. I didn’t notice until it was too late.
    Exercism.org structured deliberate practice, no AI required. - Source: dev.to / 5 months ago
  • Free Python Resources
    Providing free coding exercises and mentorship, Exercism helps developers practice and improve their programming skills step by step. Their Python Track offers a series of exercises that guide learners from beginner to more advanced levels. - Source: dev.to / 8 months ago
  • Collaboration Circles for Developers (2026)
    Exercism is a code practice + mentoring platform in 74 languages. Why it can work: although it is not exclusively focused on groups of five, its mentoring and peer review model allows forming mini-circles where participants give each other mutual feedback. Limitation: it is not originally intended as a "venting circle" (My favorite), but more technical-practical. - Source: dev.to / 10 months ago
  • Cracking Blackjack with Go: A Step-by-Step Guide to Your First Move
    Keep practicing, keep coding, and most importantly—have fun with it! If you enjoyed this exercise, explore more challenges on exercism to continue building your Go skills. As always, you can find the complete code in my GitHub repo: https://github.com/RubenOAlvarado/algorithms. - Source: dev.to / 11 months ago
  • Ask HN: What book should my CS1 students read?
    (concepts/topics) : The New Turing Omnibus, 66 Excursions in Computer Science[1] Code Complete [2] Debugging The 9 Indispensable Rules of Finding Even the Most Elusive Software and Hardware Problems [3] Code: The Hidden Language of Computer Hardware and Software [4] -- backround stories on how 'computer' things came to be -------- [1] : https://www.amazon.com/New-Turing-Omnibus-Sixty-Six-Excursions/dp/0805071660... - Source: Hacker News / over 1 year ago
View more

react-testing-library mentions (137)

  • Test-Driven Development for Building User Interfaces
    React Testing Library’s core philosophy is that we should write our tests in such a way that we simulate user behavior. By testing what the user can actually do, our tests focus less on implementation details and more on the actual user interface, which leads to less brittle tests and a more reliable test suite. - Source: dev.to / 7 months ago
  • Chaos-Driven Testing for Full Stack Apps: Integration Tests That Break (and Heal)
    In the main branch, we set up Vitest as the test runner and React Testing Library for rendering the component and simulating user interactions. We also set up MSW to intercept the network requests and return mock responses. - Source: dev.to / 11 months ago
  • 🚀 9 Libraries to Boost Your Productivity as a React Developer
    React Testing Library (RTL) provides lightweight utilities built on top of react-dom and react-dom/test-utils, designed to promote testing through user interactions rather than component internals. Instead of working with component instances, RTL encourages querying and asserting against actual DOM nodes, just like real users would. This approach improves test reliability and pushes developers toward writing more... - Source: dev.to / about 1 year ago
  • Best Practices for React Applications
    Testing ensures code reliability and maintainability. Jest, Vitest and React Testing Library are standard tools for unit and integration testing. Unit tests verify individual components, while integration tests ensure features work together. For example, testing a TodoList component might involve:. - Source: dev.to / about 1 year ago
  • Migrating from AngularJS to React
    Additionally, I wrote Jest and Enzyme unit tests to demonstrate how to go about unit testing the components, as test driven development (TDD) is another methodology my organization subscribes to. Jest is a unit testing framework that actually shipped with React if you use the Create React App CLI to make a new React project. And at the time, Enzyme was created by Airbnb and added additional functionality to Jest... - Source: dev.to / over 1 year ago
View more

What are some alternatives?

When comparing Exercism and react-testing-library, you can also consider the following products

Codecademy - Learn the technical skills you need for the job you want. As leaders in online education and learning to code, we’ve taught over 45 million people using a tested curriculum and an interactive learning environment.

Jest - Jest is a delightful JavaScript Testing Framework with a focus on simplicity.

edX - Best Courses. Top Institutions. Learn anytime, anywhere.

Vitest - A blazing fast unit test framework powered by Vite

Treehouse - Treehouse is an award-winning online platform that teaches people how to code.

Enzyme - Enzyme is a JavaScript testing utility for React.