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
As SmartHomeNG grows the possibility for errors increases. We should consider to provide tests within the sample plugin thus plugin developers can write tests for their functions.
Before releasing test code within sample plugin, we need to overhaul the mockup of core, plugins, items and logics. @ohinckel did an amazing job with the database tests. Unfortunately quite a number of tests did not work after core refactoring.
Especially the possibility to create a plugin with a simple call does not work since the data for plugin is read within the core and not passed upon creation any more.
Example Init function of the current SamplePlugin:
As SmartHomeNG grows the possibility for errors increases. We should consider to provide tests within the sample plugin thus plugin developers can write tests for their functions.
Before releasing test code within sample plugin, we need to overhaul the mockup of core, plugins, items and logics.
@ohinckel did an amazing job with the database tests. Unfortunately quite a number of tests did not work after core refactoring.
Especially the possibility to create a plugin with a simple call does not work since the data for plugin is read within the core and not passed upon creation any more.
Example Init function of the current SamplePlugin:
Old Plugins used to have an init function like:
The text was updated successfully, but these errors were encountered: