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
Due to the nature of this project, testing is a difficult task. I am also opposed to making headless browser environments (e.g. phantom) a requirement for this project. Here are some ideas, though, how we can automate some tests:
Check that the plugin does not cause errors when loaded
Validate html structure of the widget in different contexts, e.g. after initialization, after loading a specific plugin... This can be done using only lightweight DOM-simulation libraries like cheerio.
Validate events are triggered on certain actions, e.g. change on clearSelection()
More ideas will be documented here when available
The text was updated successfully, but these errors were encountered:
Due to the nature of this project, testing is a difficult task. I am also opposed to making headless browser environments (e.g. phantom) a requirement for this project. Here are some ideas, though, how we can automate some tests:
change
onclearSelection()
More ideas will be documented here when available
The text was updated successfully, but these errors were encountered: