Hey, I hope I didn't over read it somewhere, but i...
# pact-jvm
r
Hey, I hope I didn't over read it somewhere, but is there a possibility to annotate one provider test with 2 or multiple consumers? The use case is I have a provider with several consumers, two of them have the exactly same contract, because they are using the endpoints in the exact same way. Currently I have to create 2 identically provider tests classes with the only difference that in one class I have `@Conumser("consumer1")`` and in the other
@Consumer("consumer2")
. Is there another way?
t
I don't know the jvm testing ecosystem, but can you just put all your tests in one class that two annotated classes inherit from?
r
Good idea. I'll try that out thanks