Skip to main content

False Positives and False Negatives in Software Testing


Simply put,
False Positive is the situation when the functionality is working, but yet it is marked as ‘failed’ in testing/practical application
False Negative is the situation when the functionality is not working, but yet it is marked as ‘passed’ in testing/practical application

Real-life examples

1.            Software coding:  Thorough testing results in correct and valid code to get rejected (due to mismatch of understanding between coder and tester)

2.            Healthcare sector: Low-cost medical tests administered detects illness that warrants further elaborate testing (which then reveals absence of the illness)

3.            Government administration: Pre-election poll roundup denotes win of a particular candidate who will be defeated by a significant margin in the actual elections

4.            Airport security: Metal detector sounds off an alarm on presence of a small coin (sensing it to be a weapon)

5.            Anti-virus: The most popular form of ‘false positive’ is when an anti-virus blocks a safe program (or .exe file) thinking it to be a potential threat.

Steps to detect ‘falses’

1.            Change the input or the sample so that the behavior changes with this new sample. Changing the test data will point out to deviations in working of the code and hence alert us of the ‘false positives’ or ‘false negatives’

2.            Do a rigorous testing on dummy or test data (complete with all minor details) so that code performance can be monitored in an alternative environment of variables and data

3.            Provide for automating the actions, process or steps. Since automation looks for pattern in data and then performs a pre-defined action, this step can be crucial in trapping the ‘falses’


Which of the two are most dangerous?

It depends on the level of efforts required to detect such ‘falses’.
False positive will be pointed as an error (and will stop the program execution) even when it is safe. On the other hand, false negative will continue running the program even though it should’ve been stopped when it encountered the error bit.
Hence, owing the detection level, false negative is the more dangerous of the two, as there is no indicator alerting us that there is something wrong in the programming. 

Resource: Content Writing Services India


 

Comments

Popular posts from this blog

Content Writing for the Future: AI and Automation

As innovation advances rapidly, organizations seek to leverage these for getting an unbeatable competitive edge. One such innovation is AI and automation in content writing. These inventive tools can possibly change the business of a content writing agency. It presents businesses with quicker and more productive ways of producing quality content. However, as with any new technology, a few difficulties and risks should be considered. This blog will investigate the impact and role of AI and automation in content writing. Impact of AI on content creation Artificial Intelligence is changing how we make content. Using AI tools makes creating content... The post Content Writing for the Future: AI and Automation appeared first on . source https://textuar.com/blog/content-writing-agency-ai-and-automation/

Deal The Client Feedback On Content With These Easy Ways

Creation of content is not a matter of joke. Many people out there think it as easy as writing an essay for school. But when the content is for online business brand, it has to be unique and research based. Often most of the content writing company in India has to face content quality issue after client’s feedback. To avoid such problems, it is essential to follow some steps that would make the problem more handleably. Easiest ways to handle these issues A vital component of preserving a cooperative and productive working relationship between content creators and clients is navigating the editing process. This is a how-to for handling edits with ease: Comprehensive Briefs and Procedures for Approval: Make sure the initial project brief is thorough and meets the client's requirements. Include approval checkpoints in the content development process at different points to reduce the need for lengthy revisions afterwards. Communication: Encourage clear and transparent channels of com...