Plugin unit testing

Hi, guys. I’m trying to develop some plugin and faced issues with unit testing. For instance I want to test my models and I need to create them inside test blocks. I’ve tried a setup provided in this tutorial but seems it doesnt work for plugin. Is there any info about plugins unit testing ? Thanks

Hey @Sarin,

Can you share some examples of the unit tests you are trying to make work. The tutorial has an example on an unit test for services from the users-permissions plugin (default installed).

1 Like