Skip to content

Tesing in JS

Posted on:September 23, 2022 at 03:22 PM

Manual Vs automated testing

Types of test

We should test success and error cases.

Jest

React testing library

test("description", () => {
  // Test
  render();
  expect().toBeInTheDocument();
});

Test suite Vs test

describe("test group description", ()=>{

test1;
test2;
....
}

The three As of testing