Skip to content

Show Disable Reason in Result Window #25

Description

@simasch

utPLSQL adds a reason to a disabled test: utPLSQL/utPLSQL#610

Add the reason to the result window if the test is disabled.

Activity

  1. jgebal commented on Feb 7, 2022

    @jgebal
    Member

    Currently the ut_realtime_reporter is producing following output with disabled flag:

    <test>
        <disabled>true</disabled>
    </test>

    If test is not disabled we get the following outcome.

    <test>
        <disabled>false</disabled>
    </test>

    To keep backward compatibility we should not change that behaviour and add another flag.
    I suggest introduction of <disabled_reason><![CDATA[Disabled reason description]]></disabled_reason>

    So the results would be one of:

    • Disabled without reason
    <test>
        <disabled>true</disabled>
    </test>
    • Disabled with reason
    <test>
        <disabled>true</disabled>
        <disabled_reason><![CDATA[the reason]]></disabled_reason>
    </test>
    • Enabled
    <test>
        <disabled>false</disabled>
    </test>
  2. jgebal commented on Feb 7, 2022

    @jgebal
    Member
  3. lwasylow commented on Feb 7, 2022

    @lwasylow
    Member

    I allowed myself to correct your post @jgebal as the word fale got me really confused :P
    I totally agree that a new flag called disabled_reason would be best way.

  4. PhilippSalvisberg commented on Feb 25, 2022

    @PhilippSalvisberg
    Member

    I explained in utPLSQL/utPLSQL#1192 why I would use CamelCase and name the node disabledReason. IMO the next step is to implement the change outlined there.

  5. PhilippSalvisberg commented on Feb 27, 2022

    @PhilippSalvisberg
    Member

    Version 1.4.0 of the SQLDev extension can show the disabled reason. Here's a screenshot:

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions