Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20148] Improvements on tio2 unit testing

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2015-12-15T19:56:50.000+0000
Updated2018-02-28T19:55:25.000+0000

Description

The possibilities of our new ti2 unit tests are GREAT. Here are some thoughts on how we could improve the structure of our unit tests to keep it clean over the next years: - Folder structure like done in the docs: /Ti/UI/Label.js instead of ti.ui.label.test.js - Require tests automatically instead of linking every test manually in the app.js - Place asset files (images, videos, text files, etc.) in an appropiate folder structure e.g. /assets/images/ and /assets/audio/ etc. The current structure can be found [here](https://github.com/appcelerator/titanium_mobile/tree/master/ti_mocha_tests).

Comments

No comments

JSON Source