|
|
|
|
|
by seyfulislam
4234 days ago
|
|
Mocking the behavior of your code may be as hard as writing the actual code. I mean, you are right, you can feed an outsource code with fakey, but covering all test cases in the mocked up code needs a lot of work which drives us to the point I mentioned earlier: You have to teach them your code. You are right, though, at some point that aiming to create parts that are easy to mock and test is a good practice. But here we have a question about one -a single freelancer- getting help by outsourcing at some point (which is probably close to the deadline) some functionality. I don't think there are plenty of freelancers out there who put modularity on top of their priority list when writing code. They care about the time deadline, functionality, robustness, error tolerance and at some point modularity shows up in the list. Many one-guy-cares-about-all projects are black box whose features other than functionality are not taken care of by the customer and the programmer. |
|