Dev code is in JS and Automation scripts are in JAVA, how can we get integration test results?

  1. We have dev code written in Node Js
  2. We write backend web services automation scripts in Java using Rest Assured libraries.

Couple of basic questions -

  1. Can we write Integration tests for these backend web services in Java? If so, our execution through automation scripts should also give us Integration tests code coverage information?
  2. Else, should we be writing Integration tests in js only and then integrate them through Istanbul and related tool/s?

Please clarify


I’m not sure it’s a good place for such questions, here we can recommend and advice how to analyze project, not how to write tests for it. Try may be?

FYI in SonarQube there is no (anymore) notion of integration tests and their coverage, there are just tests and just coverage.