testinggospels / camouflage

Camouflage is a backend mocking tool for HTTP, gRPC, Websockets and Thrift protocols, which helps you carry out your front end prototyping, unit testing, functional/performance testing in silos, in absence of one or more Microservices/APIs.
https://testinggospels.github.io/camouflage/
MIT License
270 stars 26 forks source link

[Question] http call #123

Closed GuillaumeLhomme closed 2 years ago

GuillaumeLhomme commented 2 years ago

Hello,

Can we create expectation by http call ? And Do you plan to provide a client like "mockserver-client" ?

Thx.

shubhendumadhukar commented 2 years ago

@Madrity Camouflage is not built to be used as a library. It can be considered similar to wiremock's standalone server. You install it as a global npm package and run it via cli and a config file.

As of now, there is no plan to build a client, but if you could provide a specific use case where you might need a client, we'll definitely consider building it.

GuillaumeLhomme commented 2 years ago

Ok thanks !

Currently, I create the expectation for each features test during the test, this is litteraly my "Given" part (gherkin approach).

github-actions[bot] commented 2 years ago

Stale issue message