#NegativeTesting

David Cantrell 🏏DrHyde@fosstodon.org
2023-08-04

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.

macworld.com/article/1488009/f

2023-02-06

#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

nypost.com/2023/01/28/facebook

2023-01-31

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

#NegativeTesting

netzwelt.de/news/213258-ex-met

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst