summaryrefslogtreecommitdiffstats
path: root/tests/README.md
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-18 09:25:10 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-18 09:25:10 -0500
commita7fae6e62fbddc5565b10995f0eaeaca0af6c818 (patch)
treed34a4bfbf53e52d48cefbd699fbcac1e8032c879 /tests/README.md
parent8b9ff64881aae5694f616612f994991b2a3d7c59 (diff)
downloadchat-a7fae6e62fbddc5565b10995f0eaeaca0af6c818.tar.gz
chat-a7fae6e62fbddc5565b10995f0eaeaca0af6c818.tar.bz2
chat-a7fae6e62fbddc5565b10995f0eaeaca0af6c818.zip
Moving tests to /tests and removing /doc folder. Docs are now in seperate repository
Diffstat (limited to 'tests/README.md')
-rw-r--r--tests/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/README.md b/tests/README.md
new file mode 100644
index 000000000..a7b36f18d
--- /dev/null
+++ b/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.