Version
menu

Wwise SDK 2025.1.2
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

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise