• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Low Low
    • 3.3.0
    • None
    • Instrumentation
    • None

      Analyse how a test named like:

      def "my test name"
      

      is converted to a method like:

      $spock_feature_1_0
      

      It's being done during AST transformation I guess.

      Check how it's possible to either:

      • reverse engineer this behaviour i.e. get a back-ward mapping $spock_feature_1_0 -> def "my test name" or
      • reproduce this behaviour, i.e. instrument methods in such order/way that Clover could 'calculate' the same method name

        1. class_annotation.png
          class_annotation.png
          39 kB
        2. method_annotations.png
          method_annotations.png
          80 kB

            [CLOV-1360] Analyse how tests are converted by Spock

            Owen made changes -
            Workflow Original: New Clover Workflow [ 897473 ] New: New Clover Workflow - Restricted [ 1474018 ]
            Piotr Swiecicki made changes -
            Workflow Original: Clover Workflow [ 896365 ] New: New Clover Workflow [ 897473 ]
            Piotr Swiecicki made changes -
            Workflow Original: reviewflow [ 553955 ] New: Clover Workflow [ 896365 ]
            Marek Parfianowicz made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Marek Parfianowicz made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Implemented [ 10025 ] New: Resolved [ 5 ]
            Marek Parfianowicz made changes -
            Status Original: In Progress [ 3 ] New: Implemented [ 10025 ]
            Marek Parfianowicz made changes -
            Attachment New: class_annotation.png [ 104455 ]
            Attachment New: method_annotations.png [ 104456 ]
            Marek Parfianowicz made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Marek Parfianowicz created issue -

              mparfianowicz Marek Parfianowicz
              mparfianowicz Marek Parfianowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: