Skip to main content
19 votes
Accepted

Manager wants a combined development & production environment

Why should we have separate development, testing, and production environments? You have several activities going on concurrently: development - where developers commit code, make mistakes, ...
Aaron Hall's user avatar
  • 5,943
8 votes
Accepted

Is it acceptable to accept multiple results in a unit test?

I prefer to test the interface, not the implementation. If your consumers have access to your code, tests are a form of documentation that is guaranteed to be up to date. If you only test for 200, ...
Jacob is on Codidact's user avatar
7 votes

How to answer someone who says that quality standards in code are irrelevant?

You seem to be conflating "quality standards" with consistent style. Your colleague is right that consistent style is much less important than readability and other relatively subjective measures. ...
Karl Bielefeldt's user avatar
7 votes

Manager wants a combined development & production environment

I've heard that best practice is to have separate development, testing and production environments but why is this the case? It isn't that clear cut these days. Many places don't do manual testing ...
Telastyn's user avatar
  • 109k
6 votes

How to deliver fast and avoid growth challenges with a codebase?

Goal Setting Regardless of if you are a half-man team or a 200 man team you need to be clear about what your goals are. Which mean yes there must be project management. Now you don't need to draft a ...
Kain0_0's user avatar
  • 16.3k
6 votes

How to scale code reviews

The first thing to accept is that you cannot fully automate a code review. However, you can automate, to varying degrees, specific aspects of reviews to alleviate some pressure on the human reviewers ...
Thomas Owens's user avatar
  • 83.3k
6 votes

Two types of problems?

The binary nature of your observation stems from your own binary opinion that a certain implementation is either acceptable or not. What you're noticing is that you observe things to be the way you ...
Flater's user avatar
  • 52.7k
5 votes

Is it acceptable to accept multiple results in a unit test?

It is not only acceptable: it's recommended! Your tests should be according to the contract that your API specifications promises. Benefits: Separation of concerns: tests and implementation can ...
Christophe's user avatar
  • 78.6k
5 votes

Testing can detect the presence of error but not the absence of error, why?

I write a C function to return the sum of two integers. uint64_t sum (uint64_t x, uint64_t y) { if (x == 928349189543712948 && y == 1037485168329895349) return x + y - 1; ...
gnasher729's user avatar
5 votes

Why are cost and compliance not a software quality characteristic?

Cost cannot be part of a quality metric. If it were, cutting the price without changing anything else would mean that the quality metric goes up, and increasing prices without changing anything else ...
John Wu's user avatar
  • 26.6k
5 votes

Why are cost and compliance not a software quality characteristic?

Why is cost not a characteristic of software quality? ISO/IEC 25101 talks about the qualities and characteristics of the system. I don't believe that cost is an attribute or characteristic of the ...
Thomas Owens's user avatar
  • 83.3k
4 votes

Is QA/QC more related to proprietary softwares?

The term QA (or Quality Assurance) may not be used often in open-source projects, but a large number of projects do have QA practices. The term QA does not refer to a team of testers, but rather it ...
Bart van Ingen Schenau's user avatar
4 votes

Is it acceptable to accept multiple results in a unit test?

So if you get a status 200, that is correct and your test must pass. And if you get a status 204, that is also correct and your test must pass. Let’s think hard about this... Yes, your test must ...
gnasher729's user avatar
4 votes

Measuring the success of coding dojos

If you work out how to measure whether someone is a good programmer or not then you have solved an age old problem and will be hailed as a genius by project managers the world over. Instead measure ...
Ewan's user avatar
  • 77.4k
4 votes

How to scale code reviews

Mostly you scale by having everyone review a pull request for every pull request they author. The automated tools don't replace a human reviewer, but they let the human focus on more important matters....
Karl Bielefeldt's user avatar
3 votes

Is it acceptable to accept multiple results in a unit test?

I think you should have two different tests. You return a different status code based on what the value is in the database. You have defined two different behaviours: when the database is in one ...
Jeremy Hunt's user avatar
3 votes
Accepted

Software Quality - preventing regressions with documentation

How does the new employee know whether Joe's changes broke feature 2345 if he doesn't know how feature 2345 is intended to function? That is not necessary in most cases. Usually it is sufficient to ...
Doc Brown's user avatar
  • 210k
3 votes

How to deliver fast and avoid growth challenges with a codebase?

The challenge that you express is the following: Faster alone, further together - African proverb First of all, you shall not see testing as a luxury for bigger team. Writing some unit tests ...
Christophe's user avatar
  • 78.6k
3 votes
Accepted

When writing a JUnit test for non-covered legacy code - how important is it to understand the original scenarios?

It is true that you cannot write useful tests if you don't understand the requirements for the code. But you can learn about the requirements while writing tests - either by reading documentation, or ...
Michael Borgwardt's user avatar
3 votes

Manager wants a combined development & production environment

The main (and most apparent) reason is that you never want to mix testing and production data. This can get incredibly confusing very quickly for both users of the system as well as developers. When ...
Brian Wilbur's user avatar
3 votes

Measuring the success of coding dojos

As part social scientist by training, I'm partial to the questionnaire idea. If your organization is large enough and management is willing to support your efforts, it may be possible to do a double ...
Nathanael 's user avatar
3 votes

How to scale code reviews

Ask yourself this question - what is the point of the code review stage? Here are some possible answers to that... To ensure a consistent style of code - Use an automatic code linter in the CI/CD ...
Michael Shaw's user avatar
  • 9,955
2 votes

What extra activities can developers do to increase quality?

Do things that wouldn't geopardize the progress you already have. You can do some of the tasks the not yet functional QA team would do. You can proof-read documentation Do more testing Run a stress ...
Tulains Córdova's user avatar
2 votes

Defect metrics - open and close rate explanation

The ratio "defects found by QA before release / total defects found" is a measure of testing effectiveness. If many defects are discovered after QA has OK-ed it, they apparently didn't test it ...
amon's user avatar
  • 135k
2 votes

How to interpret QA metrics when SW quality improves?

Turn it on it's head. Change the formula to: 100%-bugs found/tests ran. Call it build stability or something like that. Then you'll be able to tell the relevant stakeholders that this build was ...
Ian Jacobs's user avatar
2 votes

Manager wants a combined development & production environment

Having only just one Oracle instance available does not mean the same as "no separation between dev, test & production environments"! You wrote in a comment We currently use different schemas ...
Doc Brown's user avatar
  • 210k
2 votes

How is the type of testing called where you test the subjective quality of a service?

I will answer this purely based on the example you put, because rating of books is quite opinion based. I will also assume you being the end user/customer. So - assuming your proposed system already ...
lmms90's user avatar
  • 669
2 votes
Accepted

Are there any formalised minimum quality standards for software development?

The bullet points you describe in your question are all either ways to measure code quality or support processes. While they do attempt to verify that your code meets a particular quality standard and ...
Robert Harvey's user avatar

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