
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
test-cloud-testez
Advanced tools
Lightweight testing tool for running TestEZ tests in Roblox Cloud and Studio environments with direct API calls, supporting both TypeScript and Lua projects
一个轻量级的测试工具,支持在 Roblox Cloud 和 Roblox Studio 中运行 TestEZ 测试。
本工具提供两种测试方式:
通过 Roblox Open Cloud API 在云端环境执行测试,无需打开 Roblox Studio。
适用场景:
特性:
📖 详细文档: Cloud 测试指南
在 Roblox Studio 内部直接运行测试,提供交互式测试环境。
适用场景:
特性:
📖 详细文档: Studio 测试指南
# 安装 Rokit 工具 (rojo, wally)
rokit install
# 安装 Roblox 包
wally install
# 配置环境变量(复制 .env.example 到 .env.roblox 并填入你的凭据)
cp .env.example .env.roblox
# 运行所有测试
node scripts/test-in-roblox-cloud.js
# 运行特定测试
node scripts/test-in-roblox-cloud.js "StringUtils"
# 详细输出
node scripts/test-in-roblox-cloud.js -V
# 启动 Rojo 服务器
rojo serve default.project.json
# 在 Roblox Studio 中:
# 1. 连接到 Rojo 插件
# 2. 按 F5 (Run) 或 F8 (Play)
# 3. 在 Output 窗口查看测试结果
创建 .env.roblox 文件:
# 推荐使用新的环境变量名
ROBLOX_API_KEY=your_api_key_here
UNIVERSE_ID=your_universe_id
TEST_PLACE_ID=your_place_id
获取凭据:
universe-places.write, universe-luau-execution.run# 运行所有测试
npm test
# 使用 verbose 模式
npm run test:verbose
# 跳过构建步骤
npm run test:skip-build
# 自定义扫描路径
node scripts/test-in-roblox-cloud.js --roots "ServerScriptService/Tests,ReplicatedStorage/Lib"
# 增加超时时间
node scripts/test-in-roblox-cloud.js -t 300
return function()
local MyModule = require(script.Parent.MyModule)
describe("MyModule.myFunction", function()
it("should do something", function()
expect(MyModule.myFunction()).to.equal(expected)
end)
end)
end
测试文件名必须包含 .spec(例如 MyModule.spec.lua)。
test-cloud-testez/
├── docs/ # 详细文档
│ ├── cloud-testing.md # Cloud 测试指南
│ └── studio-testing.md # Studio 测试指南
├── scripts/ # 测试脚本
│ ├── rbx-cloud-api.js # Roblox Cloud API 封装
│ ├── test-in-roblox-cloud.js # Cloud 测试主工具
│ └── cloud-test.lua # Cloud 测试执行脚本
├── TestService/ # Studio 测试脚本
│ └── test-cloud-testez/
│ ├── start.server.lua # Studio 测试入口
│ └── two-step-find-timeout.server.lua # Timeout 调试工具
├── src/ # 示例代码和测试
├── default.project.json # Rojo 项目配置
├── wally.toml # Wally 依赖配置
└── rokit.toml # Rokit 工具配置
项目包含示例测试在 src/:
.spec-t 参数增加超时时间wally install 并同步 Rojonpm test # 运行所有测试
npm run test:verbose # 详细输出模式
npm run test:skip-build # 跳过构建步骤
npm run build # 仅构建 Place 文件
本项目用于演示和教育目的。
FAQs
Lightweight testing tool for running TestEZ tests in Roblox Cloud and Studio environments with direct API calls, supporting both TypeScript and Lua projects
We found that test-cloud-testez demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.