Testing · Junior · Question 15 of 78
What do describe and it (test) do?
- ✓Correct answer:
describegroups related tests,it/testdeclares one test case - 2
describeruns tests in parallel,itruns them sequentially - 3
describeis for unit tests,itis for integration tests
Explanation
it and test are aliases. Groups can have their own beforeEach/afterEach hooks.