Database Testing Framework

Test MATLAB® code against databases running in Docker®

https://github.com/mathworks-ref-arch/matlab-database-testing-framework

您现在正在关注此提交

Test MATLAB® code against databases running in Docker®

Introduction
The code in this project allows you to test MATLAB code that requires a database by using a local instance of the database server running in Docker.

The following databases are currently supported:

Microsoft SQL Server® 2017 & 2019 (latest published)
PostgreSQL® (latest published)
SQLite (does not require Docker).

By creating tests that inherit from the relevant test class, the Docker container will automatically be spun up and a connection created. The test class also provides methods to create database checkpoints, restore the database to that checkpoint, delete the checkpoint, and import backup files (e.g. from your production database).

Requirements
MATLAB
Database Toolbox™
Docker Desktop
Database drivers.

Installation & Documentation
Install by double-clicking the mltbx file. Documentation is provided in the getting started guide.

Licence
Please see LICENCE.txt (https://github.com/mathworks-ref-arch/matlab-database-testing-framework/blob/master/LICENCE.txt)

Enhancement requests
Please submit issues to GitHub.

引用格式

Tim Johns (2026). Database Testing Framework (https://github.com/mathworks-ref-arch/matlab-database-testing-framework/releases/tag/1.0.0.1), GitHub. 检索时间: .

标签

添加标签

Add the first tag.

MATLAB 版本兼容性

  • 与 R2019b 及更高版本兼容

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.1

See release notes for this release on GitHub: https://github.com/mathworks-ref-arch/matlab-database-testing-framework/releases/tag/1.0.0.1

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库