All Projects → wordpress-mobile → Wordpress Editor Android

wordpress-mobile / Wordpress Editor Android

Licence: gpl-2.0
⛔️ [DEPRECATED] A reusable Android rich text editor component.

Programming Languages

java
68154 projects - #9 most used programming language

WordPress-Editor-Android

Build Status

Introduction

WordPress-Editor-Android is the text editor used in the WordPress Android app to create and edit pages & posts. In short it's a simple, straightforward way to visually edit HTML.

Testing

This project has both unit testing and integration testing, maintained and run separately.

Unit testing is done with the Robolectric framework. To run unit tests simply run gradlew testDebug.

Integration testing is done with the Android testing framework. To run integration tests run gradlew connectedAndroidTest.

Add new unit tests to src/test/java/ and integration tests to stc/androidTest/java/.

JavaScript Tests

This project also has unit tests for the JS part of the editor using Mocha.

To be able to run the tests, npm and Mocha (npm install -g mocha) are required.

With npm and Mocha installed, from within example/src/test/js, run:

npm install chai

And then run mocha inside the same folder:

cd example/src/test/js; mocha test*; cd -

LICENSE

WordPress-Editor-Android is an Open Source project covered by the GNU General Public License version 2.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].