
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
github.com/zyguan/mysql-tester
This is a golang implementation of MySQL Test Framework.
t
, take t/example.test as an example.r
. Result file has the same file name with the corresponding test file, but with a .result
file suffix, take r/example.result as an examle.Build the mysql-tester
binary:
make
Basic usage:
Usage of ./mysql-tester:
-all
run all tests
-host string
The host of the TiDB/MySQL server. (default "127.0.0.1")
-log-level string
The log level of mysql-tester: info, warn, error, debug. (default "error")
-params string
Additional params pass as DSN(e.g. session variable)
-passwd string
The password for the user.
-port string
The listen port of TiDB/MySQL server. (default "4000")
-record
Whether to record the test output to the result file.
-reserve-schema
Reserve schema after each test
-retry-connection-count int
The max number to retry to connect to the database. (default 120)
-user string
The user for connecting to the database. (default "root")
-xunitfile string
The xml file path to record testing results.
By default, it connects to the TiDB/MySQL server at 127.0.0.1:4000
with root
and no passward:
./mysql-tester # run all the tests
./mysql-tester example # run a specified test
./mysql-tester example1 example2 example3 # seperate different tests with one or more spaces
For more details about how to run and write test cases, see the Wiki page.
Contributions are welcomed and greatly appreciated. You can help by:
In case you have any problem, discuss with us in the tidbcommunity slack workspace.
See CONTRIBUTING.md for details.
MySQL Tester is under the Apache 2.0 license. See the LICENSE file for details.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.