Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-14371

Android: Correct known Mocha regressions


    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Labels:


      The list below is the current set of tests failing on Anvil for Android:

      suite_name test name platform
      facebook buttonStyleConstants android
      xml/xml apiXmlNodeRemoveChild android
      xml/xml apiXmlDocumentCreateElementNS android
      xml/xml apiXmlAttr android
      xml/xml apiXmlDocumentCreateProcessingInstruction android
      network_httpclient callbackTestForPOSTMethod android
      includes/includes relativeDown android
      includes/includes dotdotSlash android
      includes/includes lotsOfDots android
      includes/includes slashToRoot android
      includes/includes dotSlash android
      commonjs/commonjs test_absolute android
      commonjs/commonjs test_relative android
      commonjs/commonjs test_determinism android
      xml/xml apiXmlDocumentCreateDocumentFragment android
      xml/xml apiXmlNodeAppendChild android
      xml/xml apiXmlDocumentCreateCDATASection android
      ui/ui deleteCorrectRowIndex android
      yahoo yqlFlickrCats android
      xml/xml apiXmlDOMImplementation android
      xml/xml apiXmlDocumentCreateAttribute android
      xml/xml apiXmlDocumentImportNode android
      xml/xml xmlElementNS android
      xml/xml apiXmlNodeInsertBefore android
      xml/xml apiXmlDocumentCreateElement android
      xml/xml apiXmlNodeReplaceChild android
      xml/xml apiXmlDocumentCreateEntityReference android
      xml/xml xmlNamedNodeMap android
      xml/xml apiXmlDocumentCreateTextNode android
      xml/xml xmlElement android
      android/android/android jsActivityUrl android
      jss platform_jss_dirs android
      xml/xml apiXmlDocumentCreateComment android

      In most cases, it is believed that the test cases are wrong rather than the platform code itself.

      NOTE: To run anvil, the only thing you need to install is wrench module. There seems to be some sort of problem with the latest version of wrench module and anvil, which prevents it from running. Working version of wrench is 1.3.9

      Steps to set up anvil :

      1. In terminal, cd into anvil folder inside your repo
        1. It would be like <path to titanium_mobile repo>/anvil/driver/
      2. npm install -g wrench@1.3.9
      3. Make the config.js if does not exist already (there is should be a sample config.js) config.js should something like : https://gist.github.com/srahim/71c310cc675f98b07029
      4. Make sure you have a sdk inside the sdk folder specified in the config file.
      5. In terminal type "node driver.js --mode=local --platform=<platform name>"
      6. You will be inside the cli.
      7. To run all suites just type "start"
      8. To run specific suites use "start --suite=x" or "start --suite=x —test=y"

      For more information read :


          Issue Links



              • Assignee:
                ingo Ingo Muschenetz
                Sabil Rahim
              • Watchers:
                1 Start watching this issue


                • Created:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    Sync status:
                    Last received:
                    Last sent:

                    Git Integration