Skip to Main Content
InterSystems Ideas
We love hearing from our users. Tell us what you want to see next and upvote ideas from the community.
* Bugs and troubleshooting should as usual go through InterSystems support.
Status Needs review
Created by Alexander Woodhead
Created on Feb 5, 2023

Assert CodeAssist prompting

The Class %UnitTest.TestCase contains methods such as:

  • AssertNotEqualsViaMacro

It is suggested to use the Macros, instead of these methods directly.


However when using either Studio or VisualStudio code there is no prompting for these UnitTest Assertions.


Propose a really simple update to code file %outUnitTest.inc

Please precede each Assert macro line with a unindented comment line.

For example:


/// A comment line

#def1arg AssertNotEquals(%args) ....


This will facilitate in automatic Assert prompting in code Editors when implementing UnitTests, making them quicker to write.




  • ADMIN RESPONSE
    Feb 6, 2023

    Thank you for submitting the idea. The status has been changed to "needs review".

    Stay tuned!

  • Brett Saviano
    Reply
    |
    Feb 8, 2023

    Alex, please open a DP Enhancement Jira for this.