summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-12-01 21:10:44 -0800
committerCorey Hulen <corey@hulen.com>2015-12-01 21:10:44 -0800
commit5925d3118019da6ead1494ed38f6243cde297b43 (patch)
tree982f6a22b0bd5625bf593fdc6553d6d748e1e3ea /doc
parent0f4e13d51f6d3afdda50fe4a28c603d1adf9a4d9 (diff)
parentf1258ce15856b9350901bfb1be8fdfe87d4c5d6c (diff)
downloadchat-5925d3118019da6ead1494ed38f6243cde297b43.tar.gz
chat-5925d3118019da6ead1494ed38f6243cde297b43.tar.bz2
chat-5925d3118019da6ead1494ed38f6243cde297b43.zip
Merge pull request #1563 from esethna/patch-33
Create README.md
Diffstat (limited to 'doc')
-rw-r--r--doc/developer/tests/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/developer/tests/README.md b/doc/developer/tests/README.md
new file mode 100644
index 000000000..a7b36f18d
--- /dev/null
+++ b/doc/developer/tests/README.md
@@ -0,0 +1,18 @@
+# Testing Text Processing
+The text processing tests located in the [doc/developer/tests folder](https://github.com/mattermost/platform/tree/master/doc/developer/tests) are designed for use with the `/loadtest url` command. This command posts the raw contents of a specified .md file in the doc/developer/test folder into Mattermost.
+
+## Turning on /loadtest
+Access the **System Console** from the Main Menu. Under *Service Settings* make sure that *Enable Testing* is set to `true`, then click **Save**. You may also change this setting from `config.json` by setting `”EnableTesting”: true`. Changing this setting requires a server restart to take effect.
+
+## Running the Tests
+In the text input box in Mattermost, type: `/loadtest url [file-name-in-testing-folder].md`. Some examples:
+
+`/loadtest url test-emoticons.md`
+`/loadtest url test-links.md`
+
+#### Notes:
+1. If a test has prerequisites, make sure your Mattermost setup meets the requirements described at the top of the test file.
+2. Some tests are over 4000 characters in length and will render across multiple posts.
+
+## Manual Testing
+It is possible to manually test specific sections of any test, instead of using the /loadtest command. Do this by clicking **Raw** in the header for the file when it’s open in GitHub, then copy and paste any section into Mattermost to post it. Manual testing only supports sections of 4000 characters or less per post.