Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Testers coding bug fixes directly?

Testers coding bug fixes directly?

Scheduled Pinned Locked Moved The Lounge
helpdesignquestiondiscussion
74 Posts 35 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Kieryn Phipps

    So I'm a dev manager and our QC lead who is gaining proficiency in coding, though is by no means even a junior programmer has taken it upon himself to directly fix some easy bugs. This is certainly a faster way to get things fixed as our dev resources are severely limited. So far it's restricted to typos/grammar mistakes in hard-coded string UI messages and that type of thing. Good or bad? Thoughts?

    M Offline
    M Offline
    mBuchwald
    wrote on last edited by
    #53

    So long as it gets marked as 'submitted for QA review' (or however your process works) and someone else in QA has to review and verify it is fixed, then I don't see any real problem. Also assumes (ha!) he sticks to what his proficiency allows him to understand.

    1 Reply Last reply
    0
    • J JimmyRopes

      Gary Wheeler wrote:

      "Benefits of a classical education."

      You can converse in a dead language. :~

      The report of my death was an exaggeration - Mark Twain
      Simply Elegant Designs JimmyRopes Designs
      I'm on-line therefore I am. JimmyRopes

      M Offline
      M Offline
      mykeapredko
      wrote on last edited by
      #54

      Along with Latin, they teach Cobol?

      1 Reply Last reply
      0
      • G greldak

        I hope you don't have any quick fixes in the code that you haven't been allowed to fix properly because no-one will approve a change that doesn't add any visible value and which rely on those hard coded strings

        M Offline
        M Offline
        Munchies_Matt
        wrote on last edited by
        #55

        greldak wrote:

        which rely on those hard coded strings

        Anyone who writes code like that should be sacked.

        "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold

        G 1 Reply Last reply
        0
        • M Munchies_Matt

          greldak wrote:

          which rely on those hard coded strings

          Anyone who writes code like that should be sacked.

          "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold

          G Offline
          G Offline
          greldak
          wrote on last edited by
          #56

          Maybe they were or have since left for other reasons but are you sure that everyone including the aforesaid QA is aware of whether or not such code is present in the codebase and coding appropriately. Bear in mind that even though you are aware of how bad some code may be written you may not be allowed to replace it with a proper implementation unless the change is approved. My point is that even such apparently trivial changes can have unforseen consequences particularly in the case of legacy systems which may not have been well maintained in the past. As such any change needs to be properly controlled and tested. Are you certain that the aforesaid QA guy is following that principle - indeed just by doing so it would appear he is not.

          M 1 Reply Last reply
          0
          • G greldak

            Maybe they were or have since left for other reasons but are you sure that everyone including the aforesaid QA is aware of whether or not such code is present in the codebase and coding appropriately. Bear in mind that even though you are aware of how bad some code may be written you may not be allowed to replace it with a proper implementation unless the change is approved. My point is that even such apparently trivial changes can have unforseen consequences particularly in the case of legacy systems which may not have been well maintained in the past. As such any change needs to be properly controlled and tested. Are you certain that the aforesaid QA guy is following that principle - indeed just by doing so it would appear he is not.

            M Offline
            M Offline
            Munchies_Matt
            wrote on last edited by
            #57

            We are talking a display string here. That's all.

            "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold

            G 1 Reply Last reply
            0
            • M Munchies_Matt

              We are talking a display string here. That's all.

              "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold

              G Offline
              G Offline
              greldak
              wrote on last edited by
              #58

              And I had given an example where even that simple display string changing could change functionality. Just because something appears to be trivial does not mean that it is. It is unlikely that the QA guy will be sufficiently familiar with the code to determine that without spending considerable time reviewing the code. It will be much quicker and safer to have those familiar with the code make such a change. By all means he can identify what he believes needs to be done but he should not be making the change himself.

              M 1 Reply Last reply
              0
              • G greldak

                And I had given an example where even that simple display string changing could change functionality. Just because something appears to be trivial does not mean that it is. It is unlikely that the QA guy will be sufficiently familiar with the code to determine that without spending considerable time reviewing the code. It will be much quicker and safer to have those familiar with the code make such a change. By all means he can identify what he believes needs to be done but he should not be making the change himself.

                M Offline
                M Offline
                Munchies_Matt
                wrote on last edited by
                #59

                yawn.... Yeah yeah yeah, we all know what can happen, but we are talking about display strings. Name one instance where oy have even seen code that compares or uses in some way "Enter you age" or some such.

                "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold

                G D 2 Replies Last reply
                0
                • M Munchies_Matt

                  yawn.... Yeah yeah yeah, we all know what can happen, but we are talking about display strings. Name one instance where oy have even seen code that compares or uses in some way "Enter you age" or some such.

                  "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold

                  G Offline
                  G Offline
                  greldak
                  wrote on last edited by
                  #60

                  I've seen no shortage of cases where business rules have changed to accomodate legislative changes which only impact certain groups and someone in the past has taken the shortcut of hardcoding the changes rather than allowing them to be configurable. I've even come across code in the past which checks the colour of text being displayed far less the actual text. More common would be in the case of contents of comboboxes where the text displayed is checked rather than the value. When you take over a system that 20 years old and been hacked around by as may developers in that time you get to see a lot of horrors.

                  M 1 Reply Last reply
                  0
                  • G greldak

                    I've seen no shortage of cases where business rules have changed to accomodate legislative changes which only impact certain groups and someone in the past has taken the shortcut of hardcoding the changes rather than allowing them to be configurable. I've even come across code in the past which checks the colour of text being displayed far less the actual text. More common would be in the case of contents of comboboxes where the text displayed is checked rather than the value. When you take over a system that 20 years old and been hacked around by as may developers in that time you get to see a lot of horrors.

                    M Offline
                    M Offline
                    Munchies_Matt
                    wrote on last edited by
                    #61

                    SO that's actually a code review failure and nothing to do with QA.

                    "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold

                    1 Reply Last reply
                    0
                    • K Kieryn Phipps

                      So I'm a dev manager and our QC lead who is gaining proficiency in coding, though is by no means even a junior programmer has taken it upon himself to directly fix some easy bugs. This is certainly a faster way to get things fixed as our dev resources are severely limited. So far it's restricted to typos/grammar mistakes in hard-coded string UI messages and that type of thing. Good or bad? Thoughts?

                      J Offline
                      J Offline
                      jschell
                      wrote on last edited by
                      #62

                      Kieryn Phipps wrote:

                      Thoughts?

                      Who QA tests the QC lead's fixes?

                      1 Reply Last reply
                      0
                      • S SortaCore

                        It should be fine if it's only UI messages - if they're kept outside of variables. Such as a messagebox with a fixed caption, or a constant variable. Otherwise you risk coding problems such as "I'll just change the text that's passed to this strcpy()... oops." "I'll just change the text in this char[26]... oops." If the changes they make are under version control the coder could always review them. The thing is, if they do break it, they can just hide behind "I'm not a programmer"... quite legitimately.

                        J Offline
                        J Offline
                        jschell
                        wrote on last edited by
                        #63

                        SortaCore wrote:

                        If the changes they make are under version control the coder could always review them

                        If the changes are not under version control then that is a problem regardless of who is making the change.

                        SortaCore wrote:

                        The thing is, if they do break it, they can just hide behind

                        If they broke it then they broke it. Period. The choice after that is whether they still get a chance to not break it in the future.

                        1 Reply Last reply
                        0
                        • D Deflinek

                          Heh, I used to work for company that looked at QA as money waste. You know - they don't "produce" anything and slow down development as instead of new features they want the bugs fixed... It was quite a few years ago. I'm not sure if they changed their mind or just died in pain :)

                          -- "My software never has bugs. It just develops random features."

                          K Offline
                          K Offline
                          Kyudos
                          wrote on last edited by
                          #64

                          Well I'm glad to say our place doesn't see it that way! We'd have separate QA people, but our niche market isn't big enough to support more than the 1.5 developers + 1 customer support that we have. Us doing everything is just a practicality we have to deal with.

                          1 Reply Last reply
                          0
                          • K Kieryn Phipps

                            So I'm a dev manager and our QC lead who is gaining proficiency in coding, though is by no means even a junior programmer has taken it upon himself to directly fix some easy bugs. This is certainly a faster way to get things fixed as our dev resources are severely limited. So far it's restricted to typos/grammar mistakes in hard-coded string UI messages and that type of thing. Good or bad? Thoughts?

                            R Offline
                            R Offline
                            RafagaX
                            wrote on last edited by
                            #65

                            It's good and bad, it's good because you have an extra set of hands to help you with small tasks, but it's bad because if he breaks something he may simply wash his/her hands and pass the problem to you.

                            CEO at: - Rafaga Systems - Para Facturas - Modern Components for the moment...

                            1 Reply Last reply
                            0
                            • K Kieryn Phipps

                              So I'm a dev manager and our QC lead who is gaining proficiency in coding, though is by no means even a junior programmer has taken it upon himself to directly fix some easy bugs. This is certainly a faster way to get things fixed as our dev resources are severely limited. So far it's restricted to typos/grammar mistakes in hard-coded string UI messages and that type of thing. Good or bad? Thoughts?

                              R Offline
                              R Offline
                              Ravi Bhavnani
                              wrote on last edited by
                              #66

                              Kieryn Phipps wrote:

                              Good or bad?

                              In general, a good thing.  But ensure that any check-ins are first reviewed by a senior dev.  Over time, some types of fixes may be permitted without review.  I would encourage the QC engineer to continue pursuing his/her programming skills (by formal training - by that I don't necessarily mean a degree program). /ravi

                              My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                              1 Reply Last reply
                              0
                              • K Kieryn Phipps

                                So I'm a dev manager and our QC lead who is gaining proficiency in coding, though is by no means even a junior programmer has taken it upon himself to directly fix some easy bugs. This is certainly a faster way to get things fixed as our dev resources are severely limited. So far it's restricted to typos/grammar mistakes in hard-coded string UI messages and that type of thing. Good or bad? Thoughts?

                                P Offline
                                P Offline
                                Philippe Mori
                                wrote on last edited by
                                #67

                                First it is a bad thing to have hard-code string UI messages as it will make harder to localize the application if the need comes or if the message is used at many locations. Second, the developer might be better at evaluating the impact of change. Maybe the string is written in a fixed size buffer or is restricted in available UI space or used at more than one location or other similar things for which the tester might not be able to properly evaluate the impact. Third it might make it harder to follow the history if such changes are made in the middle of other unrelated changes so it might be preferable to review and fix all mistakes at once. It could also help ensure consiostency where all similar errors are corrected at once for example if the same word was always spelled wrong.

                                Philippe Mori

                                1 Reply Last reply
                                0
                                • M Munchies_Matt

                                  yawn.... Yeah yeah yeah, we all know what can happen, but we are talking about display strings. Name one instance where oy have even seen code that compares or uses in some way "Enter you age" or some such.

                                  "The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold

                                  D Offline
                                  D Offline
                                  Dar Brett
                                  wrote on last edited by
                                  #68

                                  This one time I was asked to change a dynamically generated list make anything with the same "{value} - " mutually exclusive. They're horrible hacks that only happen due to improper scoping, but anyone unfamiliar with the code could trigger weird bugs if maybe they decided that a letter in "{value}" wasn't properly capitalized or something.

                                  1 Reply Last reply
                                  0
                                  • J JimmyRopes

                                    Michael Haines wrote:

                                    You may have guessed that I am a dev manager.

                                    Then you are asking for trouble. Any changes "out of band" should not be done. There is a process in place to insure that casual changes do not take place. It is there for a very good reason. Regardless of all good intentions people will make mistakes. Sorry if your bonus is not as big, but the process has to be followed if consistency is to be maintained.

                                    The report of my death was an exaggeration - Mark Twain
                                    Simply Elegant Designs JimmyRopes Designs
                                    I'm on-line therefore I am. JimmyRopes

                                    M Offline
                                    M Offline
                                    Michael Haines
                                    wrote on last edited by
                                    #69

                                    Actually, I do not have this situation. The QA staff here does not code at all. I was just stating that putting a process in place that allows this is completely possible. The result is that the dev manager is ultimately responsible and should be reviewing when/if it happens. "I am rarely happier than when spending entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand." - Douglas Adams

                                    J 1 Reply Last reply
                                    0
                                    • D Deflinek

                                      I'm sorry but it won't be faster. If your team is small then your devs probably know the app inside out. Let the QA guy tell the devs where he thinks the change should be made. If he is correct, it will be 2 mins to get it fixed. If there is something else - the hardcoded variable is used elsewhere the QA guy doesn't know about - the dev will know it and fix it properly. Changes outside of the dev team - especially small one - will make things much slower in future and harder for maintenance. I know every manager wants to deliver on time and the pesky QA guys just go in the way ;) I think it is better to ship with small visible bugs the client knows about (QA reported, but no time to fix), than ship with masked bugs as they will hit you harder later.

                                      -- "My software never has bugs. It just develops random features."

                                      M Offline
                                      M Offline
                                      Michael Haines
                                      wrote on last edited by
                                      #70

                                      I am glad that you all have your own processes in place. Please don't believe that EVERYONE else does it the same way. I do not have this problem - I merely suggested it was manageable and potentially effective. My QA is made up mostly of analysts who don't want to code - at all. "I am rarely happier than when spending entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand." - Douglas Adams

                                      J 1 Reply Last reply
                                      0
                                      • M Michael Haines

                                        I am glad that you all have your own processes in place. Please don't believe that EVERYONE else does it the same way. I do not have this problem - I merely suggested it was manageable and potentially effective. My QA is made up mostly of analysts who don't want to code - at all. "I am rarely happier than when spending entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand." - Douglas Adams

                                        J Offline
                                        J Offline
                                        JimmyRopes
                                        wrote on last edited by
                                        #71

                                        Michael Haines wrote:

                                        My QA is made up mostly of analysts who don't want to code - at all.

                                        A blessing in disguise. :~

                                        The report of my death was an exaggeration - Mark Twain
                                        Simply Elegant Designs JimmyRopes Designs
                                        I'm on-line therefore I am. JimmyRopes

                                        1 Reply Last reply
                                        0
                                        • M Michael Haines

                                          Actually, I do not have this situation. The QA staff here does not code at all. I was just stating that putting a process in place that allows this is completely possible. The result is that the dev manager is ultimately responsible and should be reviewing when/if it happens. "I am rarely happier than when spending entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand." - Douglas Adams

                                          J Offline
                                          J Offline
                                          JimmyRopes
                                          wrote on last edited by
                                          #72

                                          Michael Haines wrote:

                                          The result is that the dev manager is ultimately responsible and should be reviewing when/if it happens.

                                          I hate to say this, but does the manager understand the intricacies of the code? If they were managing and not micromanaging then they don't. :~ The dev is the only person who knows the code so they should be the one making the changes. It is alright for the QA person to indicate where they think the changes should be made, but the dev should have final say.

                                          The report of my death was an exaggeration - Mark Twain
                                          Simply Elegant Designs JimmyRopes Designs
                                          I'm on-line therefore I am. JimmyRopes

                                          M 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups