To be useful automatic tests should run very fast. Otherwise will not be run often during development or even will…