I inherited an ancient project that had literally tens of thousands of test.
I reviewed hundreds of them, tried rewriting dozens of them.
Eventually, realize that essentially all of the tests were just testing that mock data being manually manipulated by the test gave the result of test expected.
Absolutely nothing useful was actually being tested.
Some team spent a couple of years writing an unholy number of tests as a complete waste of time. Basically just checking off a box that code had tests.
The first box on the testing checklist states that the test should first fail. I wonder how they managed to not test anything while seeing the tests transition from failure to success.
From the GP: mock data being manually manipulated by the test gave the result of test expected.
These tests are easy to write - your mock returns something, and then you verify that the API does nothing (thus the test fails), then returns whatever the mock does and the test passes. These tests are easy to write and they do fail until code is written. However they are of negative value - you cannot refactor anything as the code only calls a mock, and returns some data from the mock.
I can't imagine writing a function that is nothing more than an identity function would be easy to write (unless it was explicitly intended to be an identity function, I suppose). There must be some terrible gut wrenching feeling that goes along with it, if nothing else? Frankly, I don't understand how this situation is possible in practice, but perhaps I misunderstand what is written?
I've never seen that but I've heard the claim before.
So . . . is the team of devs who spent years writing and maintaining those tests incompetent or is it the new dev with the complaint? If it was the whole team, how did that happen?
My wife and most of her friends have all lost their original accounts.
She got an email that password was changed. We immediately took action. They had changed the email associated with account. No way to change it back.
Only thing we could accomplish was getting the account disabled.
Zero way to contact Facebook. These are all woman that FB was primary storage place for kids photos.
My wife takes full dose. Shes lost 60 pounds in six months.
I have been taking the smallest dose.
Normally i can eat a full meal, and be hungrier at the end of it, then when i started.
For a couple of days after taking the small dose. I get full after a small amount. Then feel full for most of the day.
I need to go up to a higher dose as this effect fades before next dose.
Right. Or the celebrities who are photographed landing with a date which isn't their spouse? There have been some high-profile divorces that started from evidence like that. The larger point is that this is for the benefit of "The League of the Very Special" and not out of an actual interest in privacy of PII.
Hardly suprising given this is a National Geographic article specifically targeted to teenagers that looks to have been written at any time in the past 20 years.
There's nothing current or new here, just basic high school level ENSO material.
I reviewed hundreds of them, tried rewriting dozens of them. Eventually, realize that essentially all of the tests were just testing that mock data being manually manipulated by the test gave the result of test expected.
Absolutely nothing useful was actually being tested.
Some team spent a couple of years writing an unholy number of tests as a complete waste of time. Basically just checking off a box that code had tests.