Uploaded image for project: 'Decapod'
  1. Decapod
  2. DECA-225

Refactor the mountApp and startServer functions to make it easier to test with having to start the server

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Component/s: Server
    • Labels:
      None

      Description

      Currently there is too much coupling between mountApp and startServer. To be able to start the server you have to mount an app and to be able to mount an app you have to get the resources from the startServer function. Move the resources into mountApp and return them, so that the startServer can use it. This will allow the unit test to just mount the app and not actually start the server.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jobara Justin Obara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: