14 Matching Annotations
- Dec 2022
-
learn.microsoft.com learn.microsoft.com
-
Submit false positives (good email that was blocked or sent to junk folder) and false negatives (unwanted email or phish that was delivered to the inbox)
They got it correct. Good!
-
- Oct 2022
-
github.com github.com
-
That's actually a false negative if it doesn't trigger the cop but should; a false positive is when it does trigger the cop/test/fire alarm/etc. but should not.
-
- May 2021
-
htmlpreview.github.io htmlpreview.github.io
-
These checks can have both false positives and false negatives.
Tags
Annotators
URL
-
- Feb 2021
-
twitter.com twitter.com
-
BU Epi COVID Response Corps on Twitter. (n.d.). Twitter. Retrieved 21 February 2021, from https://twitter.com/EpiCOVIDCorps/status/1362099096102854657
-
- May 2020
- Mar 2020
-
-
The more data you send with each comment check, the better chance Akismet has of avoiding missed spam and false positives.
They avoid saying "false negatives" and call it "missed spam" instead.... okay.
-
- Nov 2019
-
groups.google.com groups.google.com
-
you probably referred to the positive case where no one overrides anything and so the property returns true, so no need to process further because it is really an automation. Yes, this is true. I just hope that it does not make websites skip the checks if this returns false.
-
-
kentcdodds.com kentcdodds.com
-
I could mistakenly set onClick of the button to this.tgogle instead of this.toggle. My test continues to work, but my component is broken.
-
So finally I'm coming out with it and explaining why I never use shallow rendering and why I think nobody else should either. Here's my main assertion:With shallow rendering, I can refactor my component's implementation and my tests break. With shallow rendering, I can break my application and my tests say everything's still working.This is highly concerning to me because not only does it make testing frustrating, but it also lulls you into a false sense of security. The reason I write tests is to be confident that my application works and there are far better ways to do that than shallow rendering.
-
-
github.com github.com
-
kentcdodds.com kentcdodds.com
-
May not fail when you break application code. False positives
-
This is called a false positive. It means that we didn't get a test failure, but we should have
No, this is a false negative. We didn't get a test failure (that is, there is a lack of the condition (test failure)), when the condition (test failure) should have been present.
Read https://en.wikipedia.org/wiki/False_positives_and_false_negatives
-
Why is testing implementation details bad?There are two distinct reasons that it's important to avoid testing implementation details. Tests which test implementation details:Can break when you refactor application code. False negativesMay not fail when you break application code. False positives
-
-
medium.com medium.com
-
Using expect { }.not_to raise_error(SpecificErrorClass) risks false positives, as literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError, and ArgumentError)
Actually, those would be false negatives: the absence of a test failure when it should be there.
https://en.wikipedia.org/wiki/False_positives_and_false_negatives
-