|
|
|
|
|
by jdlshore
4412 days ago
|
|
In a complex app, there are many code paths that are executed by users that are easier to test with unit tests than feature tests. In general, unit tests are easier and faster to write than feature tests if (1) you're experienced writing unit tests (there is a learning curve) and (2) your application design supports good unit tests. Feature tests are fine for simple or small apps, but I wouldn't rely on them for the bulk of my testing in any significant app. |
|