Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7078

serve.spec.js is slow, should be rewritten to be like plugin.spec.js

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-serve
    • Labels:
      None

      Description

      The spec for `cordova serve` is slow and overly complicated.
      It re-creates the project for each sub-test and and uses the vanilla platform files which causes it to hit the network if platform files are not cached in ~/.cordova/lib.

      The attempt to test all platforms usable on the current box the test is running on is admirable, but it results in non-repeatability between machines which is more of a problem than benefit.

        Attachments

          Activity

            People

            • Assignee:
              raphinesse Raphael von der GrĂ¼n
              Reporter:
              kamrik Mark Koudritsky
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: