DEV Community

Discussion on: What are the alternatives to unit tests?

Collapse
 
markoa profile image
Marko Anastasov

I'm surprised that no one has yet mentioned monitoring.

The alternative to building classic object-oriented software guided by tests is to develop microservices with extensive real-time monitoring and alerting. If something's broken, the service will go down, or a metric will spike up/down, and the developer who owns the microservice needs to fix it. This approach is sometimes called programmer anarchy and requires a high level of maturity across the whole team.

Collapse
 
kayis profile image
K

That's basically what I'm doing.

Didn't consider this as an alternative to unit tests until now.