Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Acutest Test ExplorerNew to Visual Studio Code? Get it now.
Acutest Test Explorer

Acutest Test Explorer

Moosecasa

|
293 installs
| (1) | Free
Run your Acutest tests in the Sidebar of Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Acutest Test Adapter for Visual Studio Code

This repository contains a AcutestTestAdapter extension that works with the Test Explorer extension.

Acutest is a header only C/C++ unit testing framework.

More documentation can be found in the Test Adapter API repository. VS Marketplace:
Visual Studio Marketplace Rating (Stars) Visual Studio Marketplace Installs Visual Studio Marketplace Downloads

Open-VSX Marketplace:
Open-VSX Marketplace Rating(Stars) Open-VSX Marketplace Downloads

Visual Studio Marketplace Version GitHub repo size GitHub

Setup

There are two settings you need to configure to make the tests work:

  • acutestExplorer.testExecutable Relative path in the workspace root folder to executable that contains all tests (i.e. \bin\sampleapp.exe or /bin/sampleappbin)
  • acutestExplorer.testsourceFile Relative path in the workspace root folder to test source code containing TEST_LIST definition (i.e \test\sampleapp.c or /test/sampleapp.c)

You can access these settings in File->Preferences->Settings

Compiling/Running code

  • install the Test Explorer extension
  • fork and clone this repository and open it in VS Code
  • run npm install
  • run npm run watch or start the watch Task in VS Code
  • start the debugger

To create vsix extension:

  • install vsce with npm install -g vsce
  • run vsce package

You should now see a second VS Code window, the Extension Development Host. Open a folder in this window and click the "Test" icon in the Activity bar. Now you should see the fake example test suite in the side panel:

The fake example test suite

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft