バージョン
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
参照

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう