Installation
GdUnit4 is a Godot plugin that needs to be installed before it can be used. To install GdUnit4, you can either use the AssetLib within the Godot application or manually download the latest build from the GdUnit4 GitHub repository and install it yourself.
Installing GdUnit4 from the AssetLib
To install GdUnit4 from the AssetLib, please follow these steps:
- Open the AssetLib from the top menu bar in the Godot application.
- In the search bar, enter “GdUnit4”.
- Select the GdUnit4 plugin from the search results.
- Click on the “Download” button to download and install the plugin.
- Activate the plugin follow this steps
Godot has an issue with the project cache when installing plugins, for more details see here
Install the Latest Build from GitHub
Please note that if you install this version, you will be working with a version that has not been officially released yet. The master branch contains the latest development state, and this version may contain bug fixes that have not yet been officially released. To install the latest build from GitHub, follow these steps:
To install the latest build from GitHub, follow these steps:
- Download the latest build from GitHub here.
- Disable the current GdUnit4 plugin if you have it installed.
- Delete the
addons/gdunit4
folder. - Extract the downloaded package to the
addons
folder.
Activating the Plugin
To activate the GdUnit4 plugin, follow these steps:
- Open your project settings by navigating to Project -> Project Settings.
- Click on the Plugins tab and find GdUnit4 in the list of plugins and click the checkbox to activate it.
- Once activated, the GdUnit4 inspector will be displayed in the top left corner of the Godot Editor.
Make sure to save your project settings after activating the plugin.
Godot has an issue with the project cache when installing plugins, for more details see here
GdUnit4 Inspector
After successfully installing and activating the GdUnit4 plugin, you will find the GdUnit4 inspector in the upper left corner of the Godot editor.
- For detailed information about the inspector, please refer to the GdUnit Inspector