testing-library / react-testing-library

🐐 Simple and complete React DOM testing utilities that encourage good testing practices.

Home Page:https://testing-library.com/react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seriously guys, how the fuck do I get started here?

josh-i386g opened this issue · comments

The entire getting started guide just doesn't make sense.

  1. I used Vite to create a bare-bones react-ts template.
  2. I read https://testing-library.com/docs/react-testing-library/intro/
  3. I installed the library.
  4. I head to https://testing-library.com/docs/react-testing-library/example-intro
  5. All I see is a dump of code blocks with zero instructions on where to put them nor instructions on how to properly run these tests.

Do I need Jest to run this? Or is this usable without Jest?

This video https://www.youtube.com/watch?v=JKOwJUM4_RM also just talks about it without actually launching the tests, then proceeds to sell a course at the end of the video.