Hot answers tagged

14 votes
Accepted

Will implementing Agile generally improve code quality?

Tl;DR: Yes, it should if you practice technical excellence. Sadly often it doesn't. The current most popular Agile framework Scrum mainly focuses on process quality and project communication. If you ...
Niels van Reijmersdal's user avatar
6 votes

When writing automation, is programming required? If so, at what level?

Well I believe nothing can replace manual testing. Because in automation you can check what is expected, not what isn't expected. So manual testing, exploratory testing is important and will stay. ...
Swastik's user avatar
  • 324
4 votes

Will implementing Agile generally improve code quality?

we DO want our customers to be aware of various traps when implementing Agile as well as false expectations. Rather than pitching Agile (noun) as a product, sell best practices and continuous ...
Martin Spamer's user avatar
4 votes

Will implementing Agile generally improve code quality?

I have had a few interesting stories to tell: For a company I was working for, the team leader (also the scrum master) would ask for an extremely detailed report during a morning standup. Our stand-...
Yu Zhang's user avatar
  • 9,932
4 votes

Will implementing Agile generally improve code quality?

There really is no link between 'agile' and code quality. At the end of the day, you have the same programmers writing the same code. Scrum or (Lean or Kanban) is to do with how they spilt it up, ...
Ewan's user avatar
  • 149
4 votes

Detecting tests that will never fail

Another idea which we have not yet applied in practice is Mutation Testing. Mutation testing (or Mutation analysis or Program mutation) is used to design new software tests and evaluate the ...
alecxe's user avatar
  • 11.4k
3 votes
Accepted

How many test cases can I run if I'm using domain testing?

Domain testing is an umbrella term for Equivalent partition and boundary value analysis. Here, we try to cover all the available behaviours of a system by using the least number of inputs. Here domain ...
PDHide's user avatar
  • 11k
3 votes

Detecting tests that will never fail

Your situation is there because of Technical Debt. Everything you pointed out is controlled easily enough via Continual Review of your test suites. The programming world has words for this "...
John Peters's user avatar
3 votes

When writing automation, is programming required? If so, at what level?

TL;DR: Yes, test automation means programming. If you want to be a good test automator you will need premium coding skills. So if I switch to automation testing then do I have to code? No, there ...
Niels van Reijmersdal's user avatar
2 votes

Will implementing Agile generally improve code quality?

I believe it will depend because the definition of quality comes from the business Let me try and give three examples where the answers might be "No", "Yes" and "Maybe". NASA - Will the agile ...
Michael Durrant's user avatar
2 votes
Accepted

How to perform static code analysis?

Jenkins is a continuous integration server, also known as a build server. It takes the source code and builds it, runs tests and execute any other commands you see fit. Afterwards it can report about ...
Niels van Reijmersdal's user avatar
2 votes
Accepted

I want to know working of sonarqube

Here is the step-by-step procedure to perform the scenario: Setup a Jenkins server if already not using. Goto plugin-manager of Jenkins to install “SonarQube Plugin”. Goto “System-configuration” of ...
prinz's user avatar
  • 552
2 votes

Detecting tests that will never fail

I read somewhere a suggestion that any test which did not failed for a year should be a candidate for elimination. Not automatically eliminated - maybe for some critical functionality you want ...
Peter M. - stands for Monica's user avatar
2 votes

Detecting tests that will never fail

I would like to present a generic system under test and its test suite as below: Test suite injects inputs into system under test System under test generates outputs based on inputs from test suite ...
Yu Zhang's user avatar
  • 9,932
2 votes

When writing automation, is programming required? If so, at what level?

The questions posted have been answered. I would like to add my perspective because I have tested software since 2002, and I don't have programming skills. I've worked to garner respect and trust ...
Laura Hensley's user avatar
2 votes

When writing automation, is programming required? If so, at what level?

There are a few tools that do not require much programming skills, for example Selenium IDE Test Complete CodedUI They are record-replay tools. Basically, they record your mouse move-click actions, ...
Yu Zhang's user avatar
  • 9,932
2 votes

When writing automation, is programming required? If so, at what level?

So if I switch to automation testing then do I have to code? If yes then what level of coding will be required ? Being a person with less interest in programming, should I go for automation testing? ...
Michael Durrant's user avatar
2 votes

How to handle Javascript dropdown menu in Selenium?

First, you need to open up the dropdown menu, then select the desired menu item. The markup is not the easiest to work with because of absence of data-oriented id, name or class attributes. But, we ...
alecxe's user avatar
  • 11.4k
2 votes
Accepted

How to make the case for code quality in a SAFe environment

Although I think SAFe is not Agile at all, it just brings new words for the same roles, processes, and probably no change, like you're describing. But SAFe does mandate Built-in Quality as one of its ...
Niels van Reijmersdal's user avatar
2 votes

How to plan selenium automation of webapplication when more than 1 person is involved

Another way to phrase this question is, "How do multiple developers use the same code base in their work?" Selenium automation is just using an open source library to set up testing. It's ...
Lee Jensen's user avatar
  • 2,051
1 vote
Accepted

Expecting Null equal to 'Some Value' in Protractor

Protractors getAttribute('firstName') gets the value of the attribute firstName, not the value of the input. Your example element does not have an attribute "firstName". It has attributes id, pattern, ...
Niels van Reijmersdal's user avatar
1 vote

How to improve the code quality mindset?

Does the code reviewer with coder go through the motion of going over code together and ask questions(from a checklist) in a fix time slot along with the group of 2-3 developers(not from the same team,...
Vishal Aggarwal's user avatar
1 vote

How to do unit test of 16 digit Generated Random number

You do not need any special tool. Just pure Java and some maths (or minimal search-over-the-internet-or-at-least-over-the-stackexchange skills). Here is your demo. You only need to rework it for your ...
Alexey R.'s user avatar
  • 11.6k
1 vote

Detecting tests that will never fail

Based on a number of questions you have submitted I think your best course of action is to engage with a company that specializes in Quality Assurance. This question, like many of the questions you ...
Jeremy Kowalski's user avatar
1 vote

Detecting tests that will never fail

One system I worked on had a 100% failure framework, (actually it was a set of stubs output by the design tool), that was run as a part of the automated test suite, (Jenkins), with an evaluation ...
Steve Barnes's user avatar
1 vote
Accepted

Detecting tests that will never fail

I've recently opined, provocatively, that a test that never fails, adds no value. https://durrantm.wordpress.com/2017/05/30/a-new-way-to-think-about-tests/ At a more practical level I look to use ...
Michael Durrant's user avatar
1 vote

How to perform static code analysis?

SonarLint can be fully integrated with the IntelliJ or Eclipse without any difficulties. https://github.com/SonarSource/sonarlint-intellij
Akshay Shet's user avatar

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