I have read this document https://docs.appian.com/suite/help/25.2/Start_Rule_Tests_Applications_Smart_Service.html.
But I want to know is there any way to only test the unit test of a package?
Discussion posts and replies are publicly visible
As far as I know the smart services available for expression rules testing is for all appian exression rules or an application’s. As a workaround you can create an applications and add objects which are in the package and run test on that application using the Start rule test application smart service. Creating applications for sprints /stories is a common practice in many projects.
Alternatively, if you have test cases added into your expression rules then during compare and deploy of the package you can run the rules test cases in one click and verify failed rules in one screen itself.
We want to execute UT outside of appian. But we don't find some api support our require. so we want to use process model to create an API. But it seems no smart service can achieve I want.
Then the Only option is to create application instead of packages then run the process model to execute tests in that application using the previously mentioned smart service. Try it out as its quite a safe workaround!
Okay I will try it, Thanks
Unfortunately, Smart services only support testing at the application level or system level, not at the package level. There's no smart service that can test just a specific package or patch. I would recommend you to go through below links for better approach.https://docs.appian.com/suite/help/25.2/Running_Automated_Tests_on_Expression_Rules_with_Jenkins.htmlhttps://docs.appian.com/suite/help/25.2/testing-applications.html
No way unfortunately. I would suggest you log a feature request with Appian Support to return unit test results when exporting a package via the API or the ability to run tests at the package level or even rule in the Smart Service.