Programming

React Testing Library Test

Verifies knowledge of React Testing Library in 10 questions and 20 minutes: rendering, getBy, findBy and queryBy queries, user interactions and assertions.

Difficulty

Intermediate

10

questions

Time limit of

20

mins

English

About this test

Ten questions, 8 with one correct answer and 2 where several answers apply. The candidate does not write tests. All the questions are about the library and its vocabulary.

It covers testing components, not React itself. For the framework, the catalog has React JS and React Native Test.

What it measures

  • What the render function does and what a test suite is

  • The differences among getBy, findBy and queryBy, and the query types each offers

  • Querying elements by label text

  • Simulating user interactions

  • Assertion functions that check whether an element is present

Ideal for

  • React front-end developers

  • QA automation engineers who test React applications

  • Candidates for roles that require writing component tests

Details

Programming

Difficulty

Intermediate

Time limit of

20

mins

Java

English

10

questions

Average duration:

0

min

4

times completed