Just a quick question - which may or may not be da...
# pact-js
j
Just a quick question - which may or may not be daft (avert eyes now lol). If i created some microservices in say Python. Is there anything to stop you writing the consumer or the producer tests in say javascript?
b
nothing to stop you from writing consumers & providers in different languages . . . but writing tests in a different language than the code that they're testing sounds a bit futile
j
ah good to know thanks. a couple of reasons for that just want try a few things out in a few different languages
party parrot 1
m
I’d say writing the consumer tests in JS for a python code base will be really hard - consumer tests are really meant to be unit tests. So you can see why this would be hard
☝️ 1
provider side is usually a little higher level, so it would be possible, but still awkward. We do have CLI tools that work this way, so it’s up to how you work
j
ill try out python first maybe ill write anotehr server in javascrip provider to test out the js
👍 2