Piye

Tasks and testing

Run the project's build with one key, and find, run and read your tests in the Testing view, for every language Piye supports.

On this page

The build task

Run Build Task (CmdShiftB) runs the project's build in the terminal. Piye uses the project's own:

  • the build script in package.json, or
  • a build task in .vscode/tasks.json.

If there's neither, the terminal says how to add one.

The Testing view

Open Testing from the side panel's view menu (or View: Show Testing). It finds your tests by file, and lets you:

  • Run test on one test, a file or all of them;
  • see which passed and which failed, with the failure's output;
  • Refresh tests after adding new ones.

Test frameworks

LanguageTests
TypeScript, JavaScriptJest, Vitest
Pythonpytest, unittest classes (pytest must be installed in the project's Python)
Gogo test
Rustcargo test
JavaGradle or Maven
KotlinGradle
C#dotnet test
Swiftswift test
PHPPHPUnit
Dartdart test (Piye runs dart pub get first when a package needs it)
C, C++make test, from the Test command (not in the Testing view)

Each language also has a Run (language) Tests command in the palette.

Ask the agent

The Code agent can run the project's own checks (type check, lint, tests and build) and triage what fails, or write tests for the code you changed. In Piye Studio these are ready-made starting points: Triage failing checks and Cover the changes with tests. See The Code agent.

© 2026 Piye TechnologiesPrivacyTermsCookiesSupportChangelog