Automated Platform Testing (pytest-bdd-ewx)
Automate end-to-end testing against live Energyworx environments using pytest-bdd with the pytest-bdd-ewx plugin.
Unit testing rules and automated platform testing
View all tagsAutomate end-to-end testing against live Energyworx environments using pytest-bdd with the pytest-bdd-ewx plugin.
The local development loop for custom Energyworx rules: project layout, writing rules in your IDE, unit-testing them and uploading them to the platform.
Learn core Energyworx platform concepts through hands-on exercises covering data ingestion, configurations, and rule creation.
Unit test your custom Energyworx rules locally without mocks using the ewx_public.testing module with pytest.
Build an xlsx workbook in a rule, store it in File Management or email it, then download it and test the rule locally.