Version
menu

Wwise SDK 2025.1.1
Unit Testing Your Plug-in

Developing Unit Tests for Your Plug-in

If you included the unit test infrastructure when you created your plug-in project, you can develop your own tests. Your plug-in project includes templates for two tests: one for the sound engine plug-in implementation and another for the parameters it uses.

The code is located in the SoundEnginePluginTest directory and has the following structure:

SoundEnginePluginTest
├───main.cpp
├───MyNewFXFXParamsTest.cpp
└───MyNewFXFXTest.cpp

The test project uses the Catch2 open-source unit testing framework. For more information about Catch2, such as how to define test cases, see Catch2.

The unit tests are automatically built alongside your plug-in when you use the wp.py build command.

Running Your Unit Tests

To run the unit tests, use the test command with the wp.py script:

python "%WWISEROOT%/Scripts/Build/Plugins/wp.py" test -c Release -x x64 Windows_vc160
See also

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise