Answer the question
In order to leave comments, you need to log in
What is the difference between integration, unit and e2e testing on the frontend?
Good afternoon. Recently, I had to quickly delve into front-end testing, and confusion remained in my head, it would be great if you could help put everything in its place using an example.
Unit testing - testing a separate module, element, unit.
Integration testing - testing components in conjunction.
E2E tests are user-level tests.
We use Angular 1 on the project.
These methods are usually used in conjunction, that is, writing one does not interfere with writing another. For example, I'm testing a module window. Or the back to top button. What tests will need to cover all this?
How to test button clicks in unit tests? Or can we only test the handler function?
Answer the question
In order to leave comments, you need to log in
How to test button clicks in unit tests? Or can we only test the handler function?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question