ti-mocha

2019-09-11 admin

ti-mocha是什么

什么是ti-mocha,Simple and reliable support for mocha testing with Appcelerator's Titanium SDK

ti-mocha使用教程帮助文档

ti-mocha Appcelerator Titanium

Simple and reliable support for mocha testing with Appcelerator’s Titanium SDK.

Full Documentation and Samples

http://tonylukasavage.com/ti-mocha/

Quick Start NPM version

cd /path/to/Titanium/project && npm install ti-mocha --prefix ./node_modules

Contributing Build Status Built with Grunt

  1. Install node.js.
  2. Install grunt: [sudo] npm install -g grunt-cli
  3. git clone https://github.com/tonylukasavage/ti-mocha.git && cd ti-mocha && npm install

Basic Build

grunt

This process will generate a new ./ti-mocha.js file based on the files in src, as well as the source mocha.js file found at ./node_modules/mocha/mocha.js after you execute npm install. See lib/build.js for details of the build process. Please note that no modifications are made directly to the source mocha.js file.

Build for Different Version of Mocha

  1. Change version of mocha in the package.json devDependencies
  2. npm install
  3. grunt

Issues

Please report issues, new features/reporters, or requests in this repo’s issue tracker. Bear in mind that this is a straight-up, minimal porting effort to make mocha work with Titanium. If you want additional features or functionality in mocha itself, please report them in the mocha repository.

License

Distributed under MIT License.

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-74894.html

文章标题:ti-mocha

回到顶部