Software Alternatives, Accelerators & Startups

Medium VS react-testing-library

Compare Medium 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.

Medium logo Medium

Welcome to Medium, a place to read, write, and interact with the stories that matter most to you.

react-testing-library logo react-testing-library

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

Medium features and specs

  • User-Friendly Interface
    Medium offers an easy-to-use interface that makes it simple for anyone to start writing and publishing content without any technical knowledge.
  • Built-in Audience
    The platform has a large and active user base, so new content has the potential to reach a wide audience quickly.
  • Publishing Tools
    Medium provides versatile publishing tools that support text, images, and various media formats, which helps in creating rich and engaging content.
  • SEO Benefits
    Articles posted on Medium tend to rank well in search engine results, thanks to the platform's high domain authority.
  • Community and Interaction
    Medium encourages reader engagement through comments, claps, and highlights, fostering a sense of community among writers and readers.

Possible disadvantages of Medium

  • Monetization
    While Medium has a Partner Program, it may not be as lucrative as other methods of monetization available on independent blogging platforms.
  • Control and Customization
    Medium offers limited customization options compared to dedicated blog platforms like WordPress, restricting how you can brand and personalize your blog.
  • Content Ownership
    By publishing on Medium, you agree to their terms and conditions, which may include giving up some control over how your content is used and distributed.
  • Paywall Issues
    Some articles are placed behind a paywall, which might limit the reach of your content if you want it to be freely accessible to everyone.
  • Dependency on Platform
    Relying solely on Medium means that any changes to the platform's policies or algorithms can directly impact your reach and engagement.

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 Medium

Overall verdict

  • Medium can be considered a good platform for those who enjoy a wide array of content and appreciate quality writing on diverse subjects. However, the value of Medium depends on individual preferences and whether the topics and writing styles align with what the reader is looking for.

Why this product is good

  • Medium offers a diverse range of articles from both professional and amateur writers, providing readers with numerous perspectives on various topics. Its clean user interface and ease of use make it an appealing platform for both writers and readers. The platform also supports monetization for writers, allowing them to earn from their content.

Recommended for

    Medium is recommended for avid readers seeking a variety of topics ranging from personal development to technology. It's also ideal for writers looking to publish their work to a broad audience and potentially earn revenue through the platform's Partner Program.

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

Medium videos

Medium Review - with Tom Vasel

More videos:

  • Review - Starting a blog on Medium.com? Watch this FIRST.
  • Review - The Medium Review
  • Review - The Medium - Before You Buy
  • Review - I recommend: The Medium (Review)

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 Medium and react-testing-library)
Blogging
100 100%
0% 0
Developer Tools
0 0%
100% 100
Blogging Platform
100 100%
0% 0
Javascript UI Libraries
0 0%
100% 100

User comments

Share your experience with using Medium 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 Medium and react-testing-library

Medium Reviews

19 Best WordPress Alternatives in 2025
Medium focuses on thoughtful content and community engagement. It offers a user-friendly interface, a large readership base, and various features for writers and readers.
Source: www.pixpa.com
25+ Medium Alternative Platforms for Publishing Articles
Medium is an online platform that was created in 2012 by Evan Williams. It is a place for people to share their thoughts and ideas on various topics. Medium has about 100 million monthly visitors, which makes it one of the most popular platforms for publishing articles.
Source: forgefusion.io
10 Best Medium Alternatives for Reading and Publishing
From thะต simplicity of Ghost to thะต vะตrsatility of Substack, thะตrะตโ€™s a homะต for ะตvะตryonะต seeking great Medium alternatives. Thะตsะต altะตrnativะตs offะตr a world of possibilitiะตs for rะตadะตrs and authors alikะต. Whะตthะตr youโ€™rะต in sะตarch of a uniquะต platform to sharะต your thoughts or want to read frะตsh contะตnt, thะตsะต platforms havะต somะตthing spะตcial to offะตr. All in all, we...
9 Best Medium Alternatives for Making Money With Your Writing in 2023
Substack and Medium differ primarily in their monetization methods. Medium pays creators based on reader engagement, while Substack enables writers to monetize directly through paid subscriptions to their newsletters. This business model allows Substack users to build a direct relationship with their readers via their email inboxes, whereas Medium interactions primarily...
How to Choose the Best Blogging Platform in 2021 (Compared)
Medium works much like a social networking site where you can create an account and start publishing your articles. After you sign up, youโ€™ll have a profile address like this: https://medium.com/@yourname. But you cannot use your own domain.

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, Medium seems to be a lot more popular than react-testing-library. While we know about 3107 links to Medium, we've tracked only 137 mentions of react-testing-library. 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.

Medium mentions (3107)

  • US hires over 2k video gamers as air traffic controllers
    I'd suggest looking at Admiral Cloudberg's recent analysis of the Jan. 2025 airliner/military helicopter collision in Washington DC. It's a study in the difficulties of air traffic control in the 21st century and the reality of transponder usage, complicated by an overwhelmed airport and legislative indifference. Transponders aren't universally used, technology and people aren't perfect. This one is long; I... - Source: Hacker News / about 12 hours ago
  • Mother of all VPNs v2 release: Same 16 protocols, rebuilt underneath
    Here's also the medium article (same copy as the X thread): https://medium.com/@sbetamc/moav-v2-is-out-ab2fff44a9d8 no time for X thread or articles:. - Source: Hacker News / about 20 hours ago
  • Ask HN: My dev blog has 11k followers. I stopped writing it. What would you do?
    * Memory management + how to handle 4 common memory leaks: 421K / 77K The blog is at ~11K followers now, almost all developers. Back then every article ended with a plug for my startup, which was the actual reason I was writing them. My company got acquired, I kept the blog, and I took the plugs out. When the blog was active, I had a couple of people/companies ask to buy it and a few more wanting to advertise in... - Source: Hacker News / 3 days ago
  • Leopold Aschenbrenner Turned $100M into $45B Betting on AI โ€“ It Almost Blew Up [video]
    Luck disguised as genius aura, cult of the potential of "young geniuses", similar to Elizabeth Holmes. https://medium.com/@trendguardian/rigged-networks-1d5ad5c6f825. - Source: Hacker News / 3 days ago
  • Wikipedia's founder on his life's work: "A propaganda tool"
    Some background on The Nordic Times: https://medium.com/@collegehill/max-tegmark-ai-conspiracy-theories-and-the-swedish-right-an-investigation-5c70eea21b56. - Source: Hacker News / 4 days 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 / 6 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 / 10 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 Medium and react-testing-library, you can also consider the following products

Ghost - Ghost is a fully open source, adaptable platform for building and running a modern online publication. We power blogs, magazines and journalists from Zappos to Sky News.

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

WordPress - WordPress is web software you can use to create a beautiful website or blog. We like to say that WordPress is both free and priceless at the same time.

Vitest - A blazing fast unit test framework powered by Vite

DEV.to - Where software engineers connect, build their resumes, and grow.

Enzyme - Enzyme is a JavaScript testing utility for React.