TestEZ Companion is a Visual Studio Code extension that enables Roblox developers to preview their TestEZ test results inside VS Code.
A community made project for CLI usage is available: https://github.com/jackTabsCode/testez-companion-cli
After getting the repository, run npm i
to install all dependencies.
Before compiling, running tests is highly encouraged. This is done through Jasmine.
- To run tests once, run:
npm test
- To run tests in watch mode, run:
npm run test:watch
The VS Code extension uses TypeScript, and is then bundled with webpack.
- To compile once (in production mode), run:
npm run build
- To compile in watch mode, run
npm run watch
Make sure to first initialize git submodules:
git submodule init
git submodule update
These commands are to be run inside the plugin
directory of the repository.
- Run
rojo build
, and move the output file to your Studio plugins directory.rojo build -o "TestEZ Companion.rbxmx"
On Windows, the location of Studio plugins is %LOCALAPPDATA%\Roblox\Plugins
.
On macOS, the location of Studio plugins is ~/Documents/Roblox/Plugins
.
- Serve the
testing.project.json
file:rojo serve testing.project.json
- Under
ReplicatedStorage
, right click theTestEZ Companion
folder, and selectSave as Local Plugin...
. SelectingSave to File...
, and saving therbxm*
model in your plugin directory also works.
A basic place to test the functionality of spec files is https://github.com/tacheometry/testez-basic-place.