Я получил ответ от создателя продукта:
So the concern you have is "change->test->fail->revert"
and this happens, but with smaller and more careful changes you should be able to make good progress, and failing shouldn't be rule, but an exception.
Also, remember that in legacy the motto is better, not good. use this test until you refactor enough to get a test that doesn't require an appserver. then you move faster.
approvaltests in and of themselves do not need to be big or slow, it is only verification. it's the doing of the test that is big or slow, and while approvaltests work great for that, it by no means a suggestion or recommendation that those are the kinds of tests you want.
Затем я спросил:
Вы говорите: «проверки одобрения позволяют протестировать этот путь, но это не очень хороший способ использования утверждений»? Если бы я правильно истолковал, что было бы лучшим подходом?
И он ответил:
<Р> да. тесты одобрения позволяют протестировать этот путь.
это не очень хороший способ тестирования.
это, скорее всего, лучший способ провести единичный тест, который у вас есть.
используйте его, пока вы не реорганизуете лучший способ модульного теста (тот, который не требует сервера).
Надеюсь, это поможет кому-то другому с тем же вопросом.