The Welkin Suite Forum

[Fixed] Test classes with methods named the same show the same status



[Fixed] Test classes with methods named the same show the same status

  • Please log in to reply

#1

mcianciarulo

    Posted 01 Dec 2015

    I have the following test classes and methods:


    @isTest
    private class TestClass1 {
     
        private testmethod static void testMe() {
            system.assert(false);
        }
    }
     
    @isTest
    private class TestClass2 {
     
        private testmethod static void testMe() {
            system.assert(true);
        }
    }
     
    When I run the test for TestClass1, the test fails. The testMe method in both files will have the red symbol for a failed test. Then if I run the test for TestClass2, the test passes and the testMe method in both files then have the green symbol.


    4 replies to this topic

    #2

    kate.dulko

      Posted 02 Dec 2015

      Hi.
       
      Thank you for bringing this issue to our attention.
      May I please clarify with you which exact icon for the methods you have described: the icon in the Test Result panel or glyph near the methods in your code, or both of them have the same color in both cases for test-run?
       
      Your answer will help us to understand the reason for this issue.
      We will fix this as soon as possible.
       
      Thank you,
      Kate

      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        


      #3

      mcianciarulo

        Posted 02 Dec 2015

        I was referring to the glyph near the methods in the code



        #4

        kate.dulko

          Posted 02 Dec 2015

          Hi again.


          Thank you for your answer.

          I’ll add this to the details related to this issue.


          Regards,

          Kate


          Kate Dulko
          Customer Relations

          The Welkin Suite

          twitter: @KateDulko
          skype id: d_katerina
          e-mail: kate.dulko@welkinsuite.com

           

            


          #5

          kate.dulko

            Posted 08 Feb 2016

            Hi,

            I want to inform you that we have released the 0.26.12 version of The Welkin Suite.

            The fix of the current issue related to the test methods with the same name is included to this version.


            I kindly ask you to write us if this issue is reproduced for you.


            Thank you,

            Kate


            Kate Dulko
            Customer Relations

            The Welkin Suite

            twitter: @KateDulko
            skype id: d_katerina
            e-mail: kate.dulko@welkinsuite.com

             

              


            Boost Your Productivity. Get Started Today

            Try Free Trial