Mattermost-server: Convert tests in model/search_params_test.go into table testing

Created on 11 Mar 2020  路  4Comments  路  Source: mattermost/mattermost-server

Convert tests in model/searchparamstest.go into table testing.

As an example you can use the already existing table testing tests in the
same file. If you need to know more about table testing, you can take a look
to the following document https://github.com/golang/go/wiki/TableDrivenTests.


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-23192

AreTechnical Debt Easy Good First Issue Help Wanted PR Exists TecGo

Most helpful comment

Are you working on this @tomasmik ?

Yes, half way done.

All 4 comments

Let's go. I'm ready!

@tomasmik Awesome! thanks! :tada:

Are you working on this @tomasmik ?

Are you working on this @tomasmik ?

Yes, half way done.

Was this page helpful?
0 / 5 - 0 ratings