4 ms·
Dont test implementation. Test as closer to the end user perspective as you possibly can.
Dont test implementation. Test as closer to the end user perspective as you possibly can.
Explain the "don't test implementation"
Don’t test how something is done, test what is done.
For example - most of the time component tests in react are terrible burden, not help.
The idea is that tests should not fail when implementation changes, but not the product.
Yes, that is something we're aiming for with a library that can emulate the user closest from end user perspective.