Search code examples
fiwarefiware-wirecloud

Wirecloud widgets - Unit test


which tools can be used to make unit test on Wirecloud widgets and operators?

Any of Javascript testing frameworks are valid?


Solution

  • You can use any JavaScript framework for unit testing WireCloud widgets and operators. You can find a mock of the API provided by WireCloud in this repo. You can also take a look into some of the Widgets using this mock (jointly with jasmine).