Doug Lauder 5e59b5f70c MM-23935 extend session expiry on user activity (#14275) преди 4 години
..
Fake_Team_Import.zip 7eb09dbffd [APIV4] POST /teams/{team_id}/import for apiv4 (#5920) преди 7 години
README.md cb49d560ab Allow plugins to specify a ReleaseNotesURL via manifest (#13677) преди 4 години
channel-role-has-permission.csv 4d99aa22ba MM-22212 & MM-22208: Read from the higher-scoped scheme if the permission is non-moderated. (#13813) преди 4 години
development-private-key.asc 9898f91f7e [MM-20309] production public key (#13244) преди 4 години
development-public-key.asc a6e992ae74 MM-16368 - Plugin Signing (#13017) преди 4 години
development-public-key.gpg a6e992ae74 MM-16368 - Plugin Signing (#13017) преди 4 години
orientation_test.jpeg fae4f60b33 MM-7633: Optimize memory utilization during file uploads (#9835) преди 5 години
orientation_test_1.jpeg fae4f60b33 MM-7633: Optimize memory utilization during file uploads (#9835) преди 5 години
orientation_test_1_expected_preview.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_1_expected_thumb.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_2.jpeg fae4f60b33 MM-7633: Optimize memory utilization during file uploads (#9835) преди 5 години
orientation_test_2_expected_preview.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_2_expected_thumb.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_3.jpeg fae4f60b33 MM-7633: Optimize memory utilization during file uploads (#9835) преди 5 години
orientation_test_3_expected_preview.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_3_expected_thumb.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_4.jpeg fae4f60b33 MM-7633: Optimize memory utilization during file uploads (#9835) преди 5 години
orientation_test_4_expected_preview.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_4_expected_thumb.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_5.jpeg fae4f60b33 MM-7633: Optimize memory utilization during file uploads (#9835) преди 5 години
orientation_test_5_expected_preview.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_5_expected_thumb.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_6.jpeg fae4f60b33 MM-7633: Optimize memory utilization during file uploads (#9835) преди 5 години
orientation_test_6_expected_preview.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_6_expected_thumb.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_7.jpeg fae4f60b33 MM-7633: Optimize memory utilization during file uploads (#9835) преди 5 години
orientation_test_7_expected_preview.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_7_expected_thumb.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_8.jpeg fae4f60b33 MM-7633: Optimize memory utilization during file uploads (#9835) преди 5 години
orientation_test_8_expected_preview.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
orientation_test_8_expected_thumb.jpeg 52ac87ea32 MM-16997: Simplified TestUploadFiles (#11707) преди 5 години
qa-data-graph.png 6d30b21dd2 Ldap groups phase1 (#9752) преди 5 години
qa-data.ldif 6d30b21dd2 Ldap groups phase1 (#9752) преди 5 години
slack-import-test-channels.json 8c8bc7111c Slack import unit tests (#4201) преди 8 години
slack-import-test-direct-messages.json cc6c385d3e Add Slack corporate import ability (#10905) преди 5 години
slack-import-test-group-direct-messages.json cc6c385d3e Add Slack corporate import ability (#10905) преди 5 години
slack-import-test-posts.json 5690df9d95 add support for new slack post format and multiple attachments in slack importer (#11415) преди 5 години
slack-import-test-private-channels.json cc6c385d3e Add Slack corporate import ability (#10905) преди 5 години
slack-import-test-users.json 8c8bc7111c Slack import unit tests (#4201) преди 8 години
test-attachments.md be00e242d7 Updated to Google Drive location (#7856) преди 7 години
test-config.json 5e59b5f70c MM-23935 extend session expiry on user activity (#14275) преди 4 години
test-data-graph.png 6d30b21dd2 Ldap groups phase1 (#9752) преди 5 години
test-data.ldif 25fd962016 MM-14412: Enables force removals of team/channel members base on group constraints. (#10490) преди 5 години
test-emoticons1.md eec79e042e PLT-7356 and 7378 Reduce size of emoji test posts (#7291) преди 7 години
test-emoticons2.md 87e816da23 Remove duplicate Nature section (#7571) преди 7 години
test-emoticons3.md eec79e042e PLT-7356 and 7378 Reduce size of emoji test posts (#7291) преди 7 години
test-emoticons4.md eec79e042e PLT-7356 and 7378 Reduce size of emoji test posts (#7291) преди 7 години
test-emoticons5.md eec79e042e PLT-7356 and 7378 Reduce size of emoji test posts (#7291) преди 7 години
test-emoticons6.md eec79e042e PLT-7356 and 7378 Reduce size of emoji test posts (#7291) преди 7 години
test-hashtags.md a7fae6e62f Moving tests to /tests and removing /doc folder. Docs are now in seperate repository преди 8 години
test-link-preview.md f7c8db99af Update link preview test cases (#5620) преди 7 години
test-links.md 3e9b5c2776 PLT-6813 Removed misleading and outdated link tests (#6767) преди 7 години
test-markdown-basics.md 397e83f870 Remove redundant in-line image tests (#13578) преди 4 години
test-markdown-lists.md d5ae46c96c Update markdown test for lists (#6131) преди 7 години
test-mentions.md a7fae6e62f Moving tests to /tests and removing /doc folder. Docs are now in seperate repository преди 8 години
test-public-key.plugin.gpg a6e992ae74 MM-16368 - Plugin Signing (#13017) преди 4 години
test-search.md 17091d0ccb Add special characters hashtag tests (#6132) преди 7 години
test-slack-attachments.json 3f0325fd22 Fix parsing attachment field links into markdown (#2958) (#2959) преди 8 години
test-syntax-highlighting.md b6260e827e Remove old tests from syntax-highlighting.md (#2970) преди 8 години
test-tables.md a32f6f7733 Update test-tables.md (#6775) преди 7 години
test.png 12896bd23e Converting to Webpack. Stage 1. преди 8 години
test.svg 2ecca12bed MM-15452 - Add ability to override LHS icon for bot accounts (#11423) преди 5 години
test.tiff 4210ae60ab MM-22056: Fix flaky test TestUploadFiles (#14234) преди 4 години
test_expected_tiff_preview.jpeg a1719e9fcf MM-22707: improved image upload tests and logging (#14018) преди 4 години
test_expected_tiff_thumb.jpeg a1719e9fcf MM-22707: improved image upload tests and logging (#14018) преди 4 години
testgif.gif 12896bd23e Converting to Webpack. Stage 1. преди 8 години
testjpg.jpg 4582823f87 fix /test command (#14169) преди 4 години
testplugin.tar.gz cb49d560ab Allow plugins to specify a ReleaseNotesURL via manifest (#13677) преди 4 години
testplugin.tar.gz.asc cb49d560ab Allow plugins to specify a ReleaseNotesURL via manifest (#13677) преди 4 години
testplugin.tar.gz.sig cb49d560ab Allow plugins to specify a ReleaseNotesURL via manifest (#13677) преди 4 години
testplugin2.tar.gz cb49d560ab Allow plugins to specify a ReleaseNotesURL via manifest (#13677) преди 4 години
testplugin2.tar.gz.asc cb49d560ab Allow plugins to specify a ReleaseNotesURL via manifest (#13677) преди 4 години
testplugin2.tar.gz.sig cb49d560ab Allow plugins to specify a ReleaseNotesURL via manifest (#13677) преди 4 години
tls_test_cert.pem 557fd9ea18 Set default ciphers, set tls 1.2 via config, set curve prefs (#9315) преди 6 години
tls_test_key.pem 557fd9ea18 Set default ciphers, set tls 1.2 via config, set curve prefs (#9315) преди 6 години

README.md

Testing Text Processing

The text processing tests located in the doc/developer/tests folder are designed for use with the /test url command. This command posts the raw contents of a specified .md file in the doc/developer/test folder into Mattermost.

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.

Running the Tests

In the text input box in Mattermost, type: /test url [file-name-in-testing-folder].md. Some examples:

/test url test-emoticons.md
/test 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 /test 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.

Test plugins

There are two test plugins: testplugin.tar.gz and testplugin2.tar.gz. These are use in some integration tests in the api4 package. Any changes to the plugin bundles require updating the coresponding signatures.

First, import the public and privat development key:

$ gpg --import ./development-public-key.gpg
$ gpg --import ./development-private-key.asc

This has to be done only once.

Then update the sigantures: ``` $ gpg -u F3FACE45E0DE642C8BD6A8E64C7C6562C192CC1F --verbose --personal-digest-preferences SHA256 --detach-sign testplugin.tar.gz $ gpg -u F3FACE45E0DE642C8BD6A8E64C7C6562C192CC1F --verbose --personal-digest-preferences SHA256 --detach-sign --armor testplugin.tar.gz $ gpg -u F3FACE45E0DE642C8BD6A8E64C7C6562C192CC1F --verbose --personal-digest-preferences SHA256 --detach-sign testplugin2.tar.gz $ gpg -u F3FACE45E0DE642C8BD6A8E64C7C6562C192CC1F --verbose --personal-digest-preferences SHA256 --detach-sign --armor testplugin2.tar.gz

Finally, include the updates bundles and signatures in your commit.