Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14371] Android: Correct known Mocha regressions

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsexalture, hudder
ReporterIngo Muschenetz
AssigneeUnknown
Created2013-06-25T20:20:03.000+0000
Updated2018-02-28T20:03:48.000+0000

Description

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 :

In terminal, cd into anvil folder inside your repo

It would be like /anvil/driver/

npm install -g wrench@1.3.9

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

Make sure you have a sdk inside the sdk folder specified in the config file.

In terminal type "node driver.js --mode=local --platform="

You will be inside the cli.

To run all suites just type "start"

To run specific suites use "start --suite=x" or "start --suite=x —test=y"

For more information read : * https://github.com/appcelerator/titanium_mobile/blob/master/anvil/README * https://wiki.appcelerator.org/display/eng/Anvil+primer

Comments

  1. Shameer Jan 2013-07-26

    Fixes to includes/includes and commonjs/commonjs suites
  2. Shameer Jan 2013-07-26

    https://github.com/appcelerator/titanium_mobile/pull/4499 Fixes to includes/includes and commonjs/commonjs suites in TIMOB-14371
  3. Shameer Jan 2013-08-05

    https://github.com/appcelerator/titanium_mobile/pull/4540 Fixes to the test includes/includes commonjs/commonjs yahoo network_httpclient

JSON Source