You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some parts of the code are complex enough that they can benefit from unit testing (as opposed to e2e tests that verify rules). For example, internal logic of handling multiple CMPs, or prioritizing non-cosmetic rules.
We have something resembling unit tests for rule executors, but it's hacky and not extensible.
First thing that comes to mind is using karma, but we can consider other frameworks as well.
The text was updated successfully, but these errors were encountered:
Some parts of the code are complex enough that they can benefit from unit testing (as opposed to e2e tests that verify rules). For example, internal logic of handling multiple CMPs, or prioritizing non-cosmetic rules.
We have something resembling unit tests for rule executors, but it's hacky and not extensible.
First thing that comes to mind is using karma, but we can consider other frameworks as well.
The text was updated successfully, but these errors were encountered: