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.
Post-checkout instructions for Windows, necessary to convert the assets symlink to a Windows symlink:
From git bash, inside the cloned project root:
$ rm WordPressEditor/src/main/assets
$ git ls-files --deleted -z | git update-index --assume-unchanged -z --stdin
Then, from a Windows command prompt:
mklink /D [PROJECT_ROOT]\WordPressEditor\src\main\assets %PROJECT_ROOT%\libs\editor-common\assets
Finally, update [PROJECT_ROOT]\.git\info\exclude
to ignore the symlink locally:
# assets symlink
WordPressEditor/src/main/assets
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
. Code coverage reports can be generated via JaCoCo. To generate them locally run gradlew jacocoTestReport
.
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/
.
WordPress-Editor-Android is an Open Source project covered by the GNU General Public License version 2.