Continuation from previous comment.
On 17 November 2017, Armando Gomes said:
"<PersonalOpinion>
The reason why I don't think this has been done before is that, unlike Test Query, the platform needs to generate the code (either C# or Java) in order to allow proper execution. As such, while testing a query is somewhat easier, testing a piece of code is not.
</PersonalOpinion>
With this in mind, I decided to take this path on my Masters Degree Project/Thesis. What I intend to do is a Testing Framework component that "automatically" gets your User Actions and generates the unit test cases to achieve branch coverage. There are other features intended but this is the major one.
If you're willing to spare a few minutes to help me out - since I'm on the R&D phase -, I would appreciate that you leave a feedback on https://armando.outsystemscloud.com/TFQuery/."
On 17 November 2017, Kilian Hekhuis answered:
"The reason why this hasn't been done yet is laid out behind the link I posted above. Basically the problem is you need a full context (site properties, session variables, etc.) which you don't have."
On 21 November 2017, Armando Gomes answered:
"Nobody said it was easy :) And I really like this discussions since we can always learn something new.
What I'm trying to build is something that could help you save some time when doing the tests. It would generate them for you and it would also execute those, given a few possible limitations that I'm not really sure right now.
So, yeah. In the end it could be something like a "test action" but not-so-instant.
Again, any suggestion, feel free to use the link above or firing me a message. I'm more than eager to get views and inputs from other people.
Continue on next comment.