Renamed /loadtest to /test (#6669)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
1d66e64e54
Коммит
1594cf8af1
@@ -1,14 +1,14 @@
|
|||||||
# Testing Text Processing
|
# 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.
|
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
|
## Turning on /test
|
||||||
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.
|
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
|
## Running the Tests
|
||||||
In the text input box in Mattermost, type: `/loadtest url [file-name-in-testing-folder].md`. Some examples:
|
In the text input box in Mattermost, type: `/loadtest url [file-name-in-testing-folder].md`. Some examples:
|
||||||
|
|
||||||
`/loadtest url test-emoticons.md`
|
`/load url test-emoticons.md`
|
||||||
`/loadtest url test-links.md`
|
`/load url test-links.md`
|
||||||
|
|
||||||
#### Notes:
|
#### Notes:
|
||||||
1. If a test has prerequisites, make sure your Mattermost setup meets the requirements described at the top of the test file.
|
1. If a test has prerequisites, make sure your Mattermost setup meets the requirements described at the top of the test file.
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user