1

It would be nice to have a test to know if your code is called with a test routine.


This will be very useful for internal code that you don't make public, but there may be events that you log to it during your testing procedure. But these events are normally only for these test procedures.

Then you can only trigger these events if the code has been called from a test procedure.


This is not possible this at time because you cannot see the entire call stack.


But maybe it's possible to add a property to NavApp when a test starts, and reset it alone when the test ends.

Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team