Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
7 subscribers
Views
2243 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
We've started looking at using the saved test cases functionality and startR
Gavin Hume
Certified Senior Developer
over 7 years ago
We've started looking at using the saved test cases functionality and startRuleTestsApplications (and related) functions to run daily tests of all of our expression rules but am unsure how best to include tests for expressions that retrieve data from a database table. Given that the tests can either check that there was no error (of limited use), check that the output matches a given value or test that an assertion is true we're struggling to see how this can be made dynamic. In our current, process model based testing framework, we have used a Query Database node to directly query the database table to get both valid input parameters and expected output, before calling the expression rule with differing input parameters and then asserting the actual expression results matches the expected results. If we were trying to replicate this using the saved test cases we would have to be using another expression to return the expected result bu...
OriginalPostID-225576
OriginalPostID-225576
Discussion posts and replies are publicly visible
Parents
0
Tom Ryan
Appian Employee
over 7 years ago
No worries. That sounds like a sensible approach to me
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tom Ryan
Appian Employee
over 7 years ago
No worries. That sounds like a sensible approach to me
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data