Project Manager asks for complete 100% confidence every time committing code
workplace.stackexchange.com
workplace.stackexchange.com
If you must continue to work with this person then you need to play by their rules. Create a manual test suite that takes about 2 hours to complete. Every time a new issue is found tell the manager that you'll add X tests and increase your test suite. Eventually you'll have a test suite that takes longer to run than the bug fixes. If the manager doesn't like the drop in performance ask them which tests you should pull out.
Unit tests are arbitrary magic to non-developers whereas tests written down on paper are tangible. They can see the document grow in size and they'll start to see their name appear on the document (Added 25 more tests by direction of Joe Manager). Managers can hide from unit tests, they can accuse you of not writing enough unit tests, it's harder for them to hide from physical tests.
It's not fun. Really I'd say find a new job.
Yes. It sounds like a "give it 110%" sort of thing.
(ps you probably should do 8h of testing for every hour of dev)
There's a big difference.
Funnily enough, today's Dilbert is about this. See http://dilbert.com/strips/comic/2014-03-09/
http://www.fastcompany.com/28121/they-write-right-stuff
Now, the question becomes if they can afford the headcount & time in order to implement such a process. Unless they are actually coding up avionics, defense systems, etc. the answer is probably "no".
Frankly, what this guy needs to do is to stop being afraid of what others think. Especially others who are clearly exploiting the guy's tendency to cater to others feelings. That may or may not involve finding a new job and/or boss, but if he doesn't fix himself, he'll just repeat it all over again.
I'm making blaming statements here, but I'm tired of narcissists fucking things up for the rest of us.
Also, just like columbo said, the next best answer to dealing with a micro-manager is to bury them in status reports, requests for approval on everything short of putting more paper in the printer, and as many emails every day as you can possibly justify. You're not ever going to convince them to stop micro managing, just try to give them what they think they want. They'll usually leave you alone after that. I don't know if it makes them face their own incompetence or what.
That's why they're a project manager. It's like being a rug doctor.
'THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.'
Could the poster be up for some nasty legal surprise?
I should note that this is legally unenforceable. Bad place to work, but if it ever came to court, you just cite the halting problem to show that you cannot say in all cases that a problem won't be halted. What is being asked in impossible, so unenforceable.
I/O (except to bounded sources like disks) could probably save you, but the proof will be harder.
You're being paid to write aviation quality code and the manager is incompetent about how to go about achieving that quality, or the manager is incompetent.
Also, just parse the requirements, she's asking for confidence that it won't break any features, not that the commit won't actually break any features.
Just be more confident.
Seriously though, find a new job.
So sure, tell him everytime he asks this, it'll take you a week to make sure.
In the end, you should be able to get a bet on it. If it fixes the problem, without unwanted side effects, you get X. If it doesn't, you pay Y. See if you can work out X and Y.
If he really insists on 100%, and wants to pay for it, you might get rich in the process.
Nobody writes bug-free code - people in the comments on SE talking about how this can be done with automated testing are utterly delusional. All developers, no matter how talented and/or cautious, create bugs from time to time.
So if you are to say you have 100% confidence in your code, you are either:
1) The first developer ever to write all bug-free code, all the time (hint: you aren't)
2) Willingly overlooking the fact that no matter how hard you try or how confident you are in your code, you will introduce bugs every so often.
Neither of those is an even remotely reasonable stance to take. This project manager is a total moron.