I am unable to run serverless.test.yml

I have implemented serverless.test.yml but when running sls test I get

Serverless Error ----------------------------------------

Run “serverless” to configure your service for testing.