@karabaic This looks like it may be biased, because many programming languages require far too much ceremony to define a unit test.
If the task is very structured, then it should be possible to abstract most of it away by improving libraries or language design.
AI will make it unnecessary to do such improvements, so I expect that libraries and APIs will be going downhill.
@Mer__edith