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 Implemented
Created by Alex 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
    Mar 31, 2024

    Thank you for submitting the idea.

    This idea was implemented by InterSystems.

  • Admin
    Vadim Aniskin
    Reply
    |
    Mar 31, 2024

    This idea has been implemented for versions starting from IRIS 2023.3.0

  • Admin
    Vadim Aniskin
    Reply
    |
    Jun 26, 2023

    @Alexander Woodhead, you have a comment on your idea. Please answer it to help your idea to be promoted.

    1 reply
  • Brett Saviano
    Reply
    |
    Feb 8, 2023

    Alex, please open a DP Enhancement Jira for this.

    1 reply