Unit Testing Tool or How to do the unit for Server actions

Hi All,

I want test my server action using separate framework. I already tried TEST FRAMEWORK I can test only web services actions I cannot able to test my core module server actions. If any steps available for implementing for the server action UNIT TEST Guide me. My exact query is I want to unit for my core layer server actions using frameworks.

Thanks 

Hi Murugan,

You can test server actions with the unit testing framework, but for them to be testible you have to set their pubic property to true, and add a dependency to them in the module that contains the unit tests.

For your information, there is also the BDD framework which is more promoted by OutSystems to become the defacto testing framework for OutSystems. There is for example also a Jenkins CI/CD integration that automatically can discover and execute all related BDD tests as part of a regression test.

More info on the BDD Framework: https://www.outsystems.com/blog/posts/intro-bddframework-testing/

Regards,

Daniel

Daniël Kuhlmann wrote:

Hi Murugan,

You can test server actions with the unit testing framework, but for them to be testible you have to set their pubic property to true, and add a dependency to them in the module that contains the unit tests.

For your information, there is also the BDD framework which is more promoted by OutSystems to become the defacto testing framework for OutSystems. There is for example also a Jenkins CI/CD integration that automatically can discover and execute all related BDD tests as part of a regression test.

More info on the BDD Framework: https://www.outsystems.com/blog/posts/intro-bddframework-testing/

Regards,

Daniel

Hi
Daniël Kuhlmann,


Thank you... BDD available for OS10 because I cant able to install in OS10.

BDD works fine for OS10 and OS11