rojo/scripts/unit-test-plugin.ps1
Joe b368eb2401 Add CI pipeline documentation and enhance syncback architecture
- Introduced a new CI pipeline documentation file outlining steps for auto-fixing formatting, running linters, building, and testing.
- Documented the Rojo syncback architecture, detailing improvements to prevent duplicate file creation and format mismatches.
- Updated syncback logic to ensure existing instances are updated instead of creating duplicates, enhancing project file management.
- Added tests for encoding instances and handling nested children to improve reliability in syncback operations.
2026-02-01 18:18:31 -06:00

10 lines
388 B
PowerShell

# Run the Rojo plugin unit tests
# Requires: run-in-roblox (via rokit) and Roblox Studio installed
$ErrorActionPreference = "Stop"
Write-Host "Building test place..." -ForegroundColor Cyan
rojo build plugin/test-place.project.json -o TestPlace.rbxl
Write-Host "Running tests in Roblox..." -ForegroundColor Cyan
run-in-roblox --script plugin/run-tests.server.lua --place TestPlace.rbxl