In our application we need to sometimes check something, for example data consistency in database somewhere. So it's not the unit tests or even functional tests, because they don't test any specific function of the application server. They just check specific aspect isn't wrong right now without have a clue about the reason of the error if it's even there.
And it's not monitoring (we use Zabbix etc for this), because they don't run all the time or periodically. They are occasional.
So what we do is something in the middle. We want assertions from unit tests, because it's beneficial to know information about the error and monitoring solutions mostly can show you very little information like zero or one etc. And we want to email some responsible persons if there are errors. Right we have a small framework for this, but I'm thinking that there should be some solution to that already.
Aucun commentaire:
Enregistrer un commentaire