Hot answers tagged

13

Tl;DR: Yes, it should if you practise technical excellence. Sadly often it doesn't. The current most popular Agile framework Scrum mainly focuses on process quality and project communication. If you get yourself a project manager transitioning to Scrum Master you will be in trouble, because they have no clue about internal or structural quality and why this ...


6

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. But you can add performance testing, security testing skills. They don't require much programming skills but do need a lot of awareness of the inter connected ...


4

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, what order they do it in and reporting progress. I think what you should write about is the challenge of adding processes which add to code quality. (unit tests,...


4

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 improvement that will result in the customer being more agile (adjective), use business objectives or being more responsive to customers/users needs and issues. ...


4

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 quality of existing software tests. Mutation testing involves modifying a program in small ways. Which in practice means that if there was a mutation/change (...


3

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 means each partition that is created. Equivalent partition means we divide the inputs into different partitions, here each partition means input value range ...


3

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 "Refactoring", "Code Reviews", "Test Result Reviews". Here's the steps which will allow your team to start actively maintaining your test cases, suites and ultimately ...


3

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 are testing frameworks that do not need coding, but record and playback is currently still less maintainable than just plain handed-coded tests. If yes then ...


3

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-up normally took 1 hour to complete. When it was my turn, I would normally give a very brief description of what I have done, what I am planning to do. The whole ...


2

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 Jenkins to provide “SonarQube” server’s details Create a Jenkins job and choose one source code management option (say git). Under build, add “Execute Shell” as ...


2

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 the status of these commands like success and or failures. Code analysis programs can be started and reported on with Jenkins, but this is not something that ...


2

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 multiple tests and multiple checks (defense in depth - assuming that one of the duplicate tests checking same condition might fail to detect the error) but "a" good ...


2

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 Test suite applies Assertions onto the system outputs Based on Assertions results, tests pass / fail The symptoms of tests with missing assertions and logical ...


2

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 from each developer and manager I've worked with by finding high value defects that if found in the field would be expensive to fix, and smear the product's and ...


2

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, generate codes and record them as test cases, which you can reuse in the future. Automated test cases generated by record-replay tools are very easy to be ...


2

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? Well yes automation by definition means some level of programming. Even when using visual tools to build cases you quickly run into the need to organize tests ...


2

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 can approach the problem locating elements by text and title: // open the menu driver.findElement(By.xpath("//div[@id='wfm-header-config']/ul/li[starts-with(...


2

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 mandates Build-in Quality as one of its core values. So I am troubled you need to make a case for its practises in an SAFE environment. Sounds like it is time to talk the SAFe Lean Agile Leaders, ...


1

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, name, placeholder, aria-*, etc.. I think you want to use the (in your case hidden) attribute 'value' instead: FirstName.getAttribute('value')


1

My experience is that it is easier to sell a team on changing a process after they see that their old process doesn't yield the desired results. They may recognize that something is wrong but not recognize that the process is the problem. You might help them by collecting metrics relevant to the change you want to make. Quantifying code quality is hard, ...


1

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,i.e. objective spectators)? I find it invaluable to create a shared sense of quality mindset in the team. If the team is geographically distributed, it can be ...


1

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 input and for Assertion mechanism of your unit-test framework. public class TestNumbers { final static int numberLength = 3; public static void main(...


1

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 have asked, are indicative of much deeper systemic issues. You're trying to apply band-aids, but in reality it's time to amputate.


1

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 criteria that the number of failures had to exactly equal the number of tests, (there was also a 1 test 1 result policy). Whenever the criteria was not met the test ...


1

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 the following practices. When writing code, start with a failing tests as recommended in TDD. Really do this on an ongoing basis. When hacking around in code, ...


1

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 discovery be appropriate for planning ahead and writing high quality code with very strict and fixed requirements? Probably No. Uber - Will constantly iterating ...


1

SonarLint can be fully integrated with the IntelliJ or Eclipse without any difficulties. https://github.com/SonarSource/sonarlint-intellij


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