I just wrote a #test which didn't improve my code's #TestCoverage but was absolutely vital, and which many people don't bother with. I'm writing code to generate a report. I've got copious tests that make sure the reports contain all the correct info. I added a test that they don't include wrong info. Test that your code does what you want, but also test that it doesn't do what you don't want. #NegativeTesting can find very nasty bugs.

Ex-employee claims #Facebook apps can purposefully drain your phone's battery

Lawsuit outlines the practice of so-called '#NegativeTesting' by Facebook.

If you've ever noticed your battery draining abnormally fast while using the Facebook or Messenger app on your iPhone, it might not be a coincidence. According to a former Meta data scientist, the company has the ability to secretly drain users’ #Android and #iPhone batteries as part of its internal app testing.

https://www.macworld.com/article/1488009/facebook-apps-negative-testing-battery-drain.html

Ex-employee claims Facebook apps can purposefully drain your iPhone battery

Lawsuit outlines the practice of so-called ‘negative testing’ by the social media giant.

Macworld

#facebook fires worker who refused to do 'negative testing': 'worker claims in lawsuit

“I said to the manager, ‘This can harm somebody,’ and she said by harming a few we can help the greater masses,” said Hayward, 33, who claims in a Manhattan Federal Court lawsuit that he was fired in November for refusing to participate in negative testing
#negativetesting #lawsuit

https://nypost.com/2023/01/28/facebook-fires-worker-who-refused-to-do-negative-testing-awsuit/

Facebook secretly killed users batteries, worker claims in lawsuit

The practice, known as “negative testing,” allows tech companies to “surreptitiously” run down someone’s mobile juice in the name of testing features or issues such as…

New York Post

Ein Ex-Mitarbeiter von #Meta behauptet, dass der #Facebook Messenger in bestimmten Fällen gezielt den Akku eures Handys leersaugt.

#NegativeTesting

https://www.netzwelt.de/news/213258-ex-meta-mitarbeiter-packt-macht-facebook-unseren-handy-akkus.html

Ex-Meta-Mitarbeiter packt aus: Das macht Facebook mit unseren Handy-Akkus

Ein Ex-Mitarbeiter von Meta behauptet, dass der Facebook Messenger in bestimmten Fällen gezielt den Akku eures Handys leersaugt. Das steckt dahinter.

Netzwelt