0

Does anybody know how to write e2e tests for Kafka to test producing/consuming events ?.

I have had a look at the NestJS github repo below and cant find anything.

https://github.com/nestjs/nest/tree/master/sample

mh377
  • 1,656
  • 5
  • 22
  • 41
  • You can find e2e examples for NestJS MicroServices - https://github.com/nestjs/nest/tree/master/integration/microservices/e2e – iravinandan Oct 06 '22 at 12:39
  • The latest git commit messages on the kafka tests look like it was to skip them. Do you have any examples of working kafka e2e tests ?, it would be useful to see how to test consuming kafka events ? – mh377 Oct 08 '22 at 16:48

1 Answers1

0

It looks like there is an open issue for more documentation on how to test NestJS microservices

https://github.com/nestjs/docs.nestjs.com/issues/1954

mh377
  • 1,656
  • 5
  • 22
  • 41