The Welkin Suite Forum

[Implemented] Shortcut to run tests for the current class



Shortcut to run tests for the current class

  • Please log in to reply

#1

logan.moore

    Posted 20 Jul 2015 and edited 20 Jan 2018

    Not a big problem really, but a nice to have. As I'm writing a test class, it would be nice to either have a shortcut key to kick off a test run of the class. Or perhaps, when a test class is compiled, automatically queue up test runs for any test classes in the compile.



    4 replies to this topic

    #2

    vlgubanovich

      Posted 22 Jul 2015

      Hi logan.moore,


      Sorry for a delay with response - was discussing this with the team and wanted to get back to you with some concrete answers :)

      First of all thanks for a great idea for improvement.

      We've just added it to the next sprint (which is going to be released on August 10-11). We're going to implement both your approaches, and we really think that they would help improving development performance.


      Thanks again and please let us know if you have any other ideas, wishes or even development dreams.


      Vladimir


      Vladimir Gubanovich
      Head of Product
       
      The Welkin Suite
      skype id: vladimir.gubanovich
      e-mail: vladimir.gubanovich@welkinsuite.com


      #3

      logan.moore

        Posted 23 Jul 2015

        Very cool!

        I'm getting very used to compiling as a separate action. This, and having my test classes run automatically has me very excited.

        Usually when I'm developing features, I want to run all tests to make sure I haven't broken anything somewhere else in code.

        When I'm working on a test class, I only want to run that test so I get quick feedback on changes that I'm making.

        So perhaps a button "Run All Tests" that skips the test class selection and kicks off a full test run.



        #4

        vlgubanovich

          Posted 23 Jul 2015

          HI logan.moore,


          We'd like everybody to get used to a separate compile action as in our opinion it's much more productive :)


          Regarding "Run All Tests" - there's a limitation that we can't run more than 200 test classes at once. To be honest we've not yet checked how SF itself handles this situation, but this may be a showstopper for this button. However we're changing in this sprint our logic to retrieve tests list, so it'll be much faster (in two words - we won't ask SF for a list of all test classes as a first stage, but we'll build this list based on info in local files with optional ability to retrieve it from SF when needed. We assume that once developer haven't downloaded some test classes - he's not very interested in their results as well).


          Vladimir


          Vladimir Gubanovich
          Head of Product
           
          The Welkin Suite
          skype id: vladimir.gubanovich
          e-mail: vladimir.gubanovich@welkinsuite.com


          #5

          vlgubanovich

            Posted 14 Aug 2015

            Hi logan.moore,


            Just wanted to let you know (please sorry for a delay) that partially your ideas were implemented in 0.21.13 version released last week.


            The only thing left is running tests for the class that is currently opened (currently we're able to run tests from the class that is opened). We have this as well in our future plans but I'm not able to give you any timeline when this will be implemented.


            Thanks,

            Vladimir


            Vladimir Gubanovich
            Head of Product
             
            The Welkin Suite
            skype id: vladimir.gubanovich
            e-mail: vladimir.gubanovich@welkinsuite.com


            Boost Your Productivity. Get Started Today

            Try Free Trial