Hot answers tagged

503 votes

Leaving intentional bugs in code for testers to find

This sounds absolutely ridiculous. It is expending a great deal of effort for very questionable benefit, and the practice seems based on some faulty premises: That QA won't work hard unless they know ...
user avatar
  • 7,593
224 votes

Leaving intentional bugs in code for testers to find

Well, based on what I've learned: It's not a school nor job interview; The testers are not children; It's not a game; It wastes company's money. The QA are not there only to find bugs but also to ...
user avatar
  • 2,007
189 votes

Can we assume while testing software that a user wouldn't perform such silly actions on software?

You might not enter random values into fields of a web application, but there certainly people out there that do just that. Some people enter random by accident and others do it intentionally trying ...
user avatar
107 votes

Leaving intentional bugs in code for testers to find

Bad idea. From the tester's point of view: "So they will test hard, because they know there are bugs present and not finding them might be considered as their incompetence." Basically the devs are ...
user avatar
101 votes

Can we assume while testing software that a user wouldn't perform such silly actions on software?

Never Assume Anything You cannot assume that any user will not do something "dumb" with your software by accident or on-purpose. Users can accidentally press the wrong button, the cat can ...
user avatar
  • 9,628
94 votes
Accepted

Software bug vs. software corruption

Software corruption is the contrary of software integrity. It's the same thing as data corruption, except that the data is the software code. It can affect: the software binary stored in memory: ...
user avatar
  • 66.8k
69 votes

What kind of bugs do "goto" statements lead to? Are there any historically significant examples?

It isn't that the goto is bad by itself. (After all, every jump instruction in a computer is a goto.) The problem is that there is a human style of programming that pre-dates structured programming, ...
user avatar
65 votes

What kind of bugs do "goto" statements lead to? Are there any historically significant examples?

Why is goto dangerous? goto doesn't cause instability by itself. Despite about 100,000 gotos, the Linux kernel is still a model of stability. goto by itself should not cause security vulnerabilities. ...
user avatar
  • 66.8k
64 votes

Leaving intentional bugs in code for testers to find

I agree totally with the answers above as to why this is bad for motivation and just generally awful people management. However, there are probably sound technical reasons for not doing this as well: ...
user avatar
  • 2,499
60 votes

Can we assume while testing software that a user wouldn't perform such silly actions on software?

There are several factors to take in account. To illustrate those points, I'll use an example of a field where a user should enter a percentage in a context of a quota defined for a specific task in ...
user avatar
51 votes

Leaving intentional bugs in code for testers to find

Edit I want to be clear that this answer is only talking about the concept of testing your QA process, and I'm not defending the specific methodology portrayed in the question. End Edit There is a ...
user avatar
47 votes

What's the best way to avoid catastrophe caused by negligence?

Is there some kind of cultivatable behaviour [...] that can help me at least reduce such kind of mistake Absolutely, it is called four-eyes-principle. If you had you shown your crontab entry to a ...
user avatar
  • 184k
34 votes

What kind of bugs do "goto" statements lead to? Are there any historically significant examples?

The famous Dijkstra article was written at a time when some programming languages were actually capable of creating subroutines having multiple entry and exit points. In other words, you could ...
user avatar
33 votes

Leaving intentional bugs in code for testers to find

Honestly, I'd call this behavior blatantly unethical and impractical. The PM is in need of some serious retraining, if not termination. It demonstrates a fundamental lack of understanding of the ...
user avatar
29 votes

Leaving intentional bugs in code for testers to find

Personally, I feel uncomfortable with this approach. The main thing that concerns me is the practicality of inserting intentional bugs. This seems to me to be difficult to do in any way that is ...
user avatar
28 votes

Software bug vs. software corruption

You can fix corruption by restoring from a good back up. Corruption means some of the bits somehow got changed from what they were meant to be. You can fix a bug* by doing more development and ...
user avatar
23 votes

Leaving intentional bugs in code for testers to find

It's a bad idea for all the reasons already given, but bug seeding is a useful tool for a different purpose. You can use it to get a rough metric of how effective the QA process is. In its simplest ...
user avatar
  • 463
21 votes

I am making 4-5x more story points than average, but producing bugs at half the rate. Graphs say it's 2x more bugs, how to deal with that?

Spend some of that extra time cleaning, polishing, and testing your code. There will still be mistakes, but there will be less. That takes time. Your code output rate will go down, but your bug-free ...
user avatar
  • 6,692
21 votes

I am making 4-5x more story points than average, but producing bugs at half the rate. Graphs say it's 2x more bugs, how to deal with that?

I'll go out on a limb and be the devil's advocate. That's not to say I don't sympathise with your plight but, well, my sympathy won't help you. So allow me to add to Philip's perspective: Your boss ...
user avatar
  • 1,174
20 votes

I am making 4-5x more story points than average, but producing bugs at half the rate. Graphs say it's 2x more bugs, how to deal with that?

Assuming you would produce the same "amount" of code like your colleagues in 20% of their time, you could spend 4 times as much on really debugging the code and making it perfect, which would reduce ...
user avatar
  • 241
20 votes
Accepted

Theoretically bug-free programs

It's not so much that programs can't be bug-free; it's that it's very hard to prove that they are, if the program you're trying to prove is non-trivial. Not for lack of trying, mind you. Type ...
user avatar
20 votes

Software bug vs. software corruption

A bug is when a software does exactly what the programmer told it to do, instead of what the programmer wanted it to do. A corruption is when a software does something else than what the programmer ...
user avatar
  • 1,476
19 votes

Leaving intentional bugs in code for testers to find

Bad idea. This is the sort of logical, binary approach that developers often bring, but it is demotivating for the QEs. It simply demonstrates a lack of trust. QEs often get placed in these ...
user avatar
18 votes

Leaving intentional bugs in code for testers to find

I'd say bad idea. One: Programmers are going to spend time putting deliberate bugs in the code, and some effort to save the good version. While the testers should presumably be testing everything, ...
user avatar
  • 2,647
18 votes

Should I notify my colleagues when I find a bug in their code?

If it's part of your process, then yes. If it's specifically not part of your process, then no. If it's not specified, the best thing is to ask the developers if they would like you to notify them if ...
user avatar
15 votes
Accepted

Customer is "deeply disappointed" in our software because of one bug. How to reply?

It sounds like for the most part, you have a good relationship with this customer. ("Everything is going well so far.") Presumably you want to keep that relationship. But it sounds like this scenario ...
user avatar
  • 475
15 votes

What's the best way to avoid catastrophe caused by negligence?

You don't need ADHD to have this problem. It might be that you are working in environment where you get interrupted often or where you have to work on many things at the same time. So loosing track of ...
user avatar
  • 35.4k
15 votes

Software bug vs. software corruption

Presumably what they mean by "software corruption" is unintended changes to the contents of an executable file due to things like a failure of the storage media. A "bug" would mean ...
user avatar
  • 1,298
14 votes

Theoretically bug-free programs

First, let's establish what context you wish to discuss this in. The Programmers Q&A at Stack Exchange suggests that you are most likely interested in the real world existence of tools / languages ...
user avatar
  • 1,163

Only top scored, non community-wiki answers of a minimum length are eligible