# Superior Testing: Check Your Checks

DevFeed: [Superior Testing: Check Your Checks](<https://devfeed.tech/articles/superior-testing-check-your-checks-29375.md>)

Original publisher: [Read original article](<https://arturdryomov.dev/posts/superior-testing-check-checks/>)

Author: Artur Dryomov

Published: 2019-03-27T00:00:00Z

Content type: opinion

Language: en

Sources: [Artur Dryomov](<https://devfeed.tech/sources/artur-dryomov.md>)

Topics: [Testing](<https://devfeed.tech/topics/testing.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [async](<https://devfeed.tech/topics/async.md>), [test](<https://devfeed.tech/topics/test.md>), [SDK](<https://devfeed.tech/topics/sdk.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [code](<https://devfeed.tech/tags/code.md>), [errors](<https://devfeed.tech/tags/errors.md>), [false-positives](<https://devfeed.tech/tags/false-positives.md>), [mockito](<https://devfeed.tech/tags/mockito.md>), [testing](<https://devfeed.tech/tags/testing.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

The article discusses false positives in software tests, focusing on assertions and Mockito verifications. It explains that checking only a result or an invocation can miss side effects, especially in asynchronous code and UI behavior.

## Source excerpt

False positives. Such an interesting combination of words, isn't it? The nature of false positives is mostly human. We misinterpret conditions, define them wrong, forget about effects -- but the machine obeys. We get what we want but not what we need. This is dangerous. The civilization downfall in various science fiction books is a false positive result. The AI gets instructions to eliminate all threats, humanity becomes the threat, roll the action scene. This is so not new that we got used to it.