repocho / raml-mocker

Node module to create random responses to requests based on RAML rest definition.
MIT License
93 stars 33 forks source link

Pass ramlev tests before generating mock #6

Closed cybertk closed 9 years ago

cybertk commented 9 years ago

raml-mocker is awesome for automated REST API testing. I tried to integrated it into a CI process before ramlev, which is a example validator of RAML. ramlev will ensure the RAML is able to mock with raml-mocker if all tests passed.

repocho commented 9 years ago

Please provide an example of the validation.

cybertk commented 9 years ago

ramlev only validate example defined in body section with application/json MIME. You can have a look at this file. ramlev will find the invalid examples defined in it.

repocho commented 9 years ago

If you want to include your plugin as a part of the process please provide a real example of how to use it with this plugin otherwise I can't add your solution because I didn't evaluate it.

Thanks.

repocho commented 9 years ago

No enough information attached.