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

[CLI] [tests] unnecessary output when running tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      cordova-cli test suite outputs jank while running tests

      jank includes multiple repetitions of the help string.

      solution: mock or redirect console.log to avoid polluting output

      Synopsis
      
          cordova command [options]
      
      Global Commands
      
          create ............................. Create a project
          help ............................... Get help for a command
      
      Project Commands
      
          info ............................... Generate project information
      
          platform ........................... Manage project platforms
          plugin ............................. Manage project plugins
      
          prepare ............................ Copy files into platform(s) for building
          compile ............................ Build platform(s)
      
          run ................................ Run project
                                                  (including prepare && compile)
          serve .............................. Run project with a local webserver
                                                  (including prepare)
      
      aliases:
          build -> cordova prepare && cordova compile
          emulate -> cordova run --emulator
      
      Experimental Commands
      
          These commands require the --experimental flag.
      
          save ............................... Save installed platforms/plugins
          restore ............................ Restore saved platforms/plugins
      
      Command-line Flags/Options
      
          -v, --version ...................... prints out this utility's version
          -d, --verbose ...................... debug mode produces verbose log output for all activity,
                                               including output of sub-commands cordova invokes
      

      Attachments

        Activity

          People

            lorin.beer Lorin Beer
            lorin.beer Lorin Beer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: