How to perform testing on node js app with 10 individual modules using jest?

Home Forums Info & Off-Topic Discussion How to perform testing on node js app with 10 individual modules using jest?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #25924
    Crus
    Participant
    @cls

    I am very new with testing , I have built a web app with node js, ejs, express . The web app has 10 different modules ,

     

    the modules function on their own and they are not connected to each other.

     

    I have tested functions and components on each module as they were “units” and tested them for integration to check if combining functions with variables on each module would work… I have not tested each module as a unit and test these units for integration. Would you then class those tests as unit and integration tests or should I put functions in different modules and consider each module as a unit testing them for integration using import methods?

     

    How would you perform a system test in this case?

     

    Sorry but I could not find any example of these tests performed on a node js app on the web. Thanks for the help!

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.