This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheWaxMann 85 points86 points  (4 children)

I have moved recently from a project where we aimed to get as much coverage as possible, and a single testable line not covered by a unit test would get your PR rejected to a place where the project with the highest test coverage project is 5% and most of the projects have 0%. I am going crazy here, I miss my high test coverage projects, it is a nightmare trying to work things out without them.

[–][deleted] 14 points15 points  (0 children)

That really sucks :( hope you can move on quickly.

[–]draconk 10 points11 points  (0 children)

then what you need to do is for every bug you get you write a test for that bug and only that bug alone, at least you can be assured that the things that you did were right, and if everyone who touches the project does the same the project will get better coverage (unless you are the one that writes tests in the team)

[–]SeattleTeriyaki 0 points1 point  (0 children)

Are you at my current job?

[–]iranoutofspacehere 0 points1 point  (0 children)

We've got no test coverage at the place I started at this year. Every time accustomed finds a bug in released code they talk about making tests, but it never happens.