Overview
DribbleSpec is a test framework for Lua mods. It gives mod authors a small test DSL (describe, test, hooks), expect matchers, doubles, fixture helpers, runtime helpers, and lightweight entity-aware assertions for integration-heavy mod work.
Load DribbleSpec in your load order, register the public API through Mods.Dribbles.RegisterTestGlobals(), then run tests from the SE console with !dribbles, !d, name filters, tag filters, or a mod-specific alias. It can remain completely optional for your players, no hard dependency needed.

This is a tool/framework mod for BG3 mod authors, not for players. If you're an author, see the guide for authors.
DribbleSpec is in beta and still evolving. While it is used in practice and even to actively test itself, some advanced features may be unreliable, and breaking API changes are still possible.
Features
- Jest-like Lua test DSL: Write suites with describe/test plus beforeAll, beforeEach, afterEach, and afterAll hooks.
- Entity-aware assertions: Use core expect matchers plus BG3 helpers such as UUID, entity, and component assertions.
- Doubles and fixtures: Use mockFn, spyOn, stub, fixture helpers, and state snapshots to test mod behavior with less boilerplate and more reproducibility.
- Runtime helpers and filtering: Guard tests by client/server context, wait across ticks, and run subsets with name, tag, context, or fail-fast filters.
- Consumer-friendly setup: Add global tags to all tests, define a command alias, and keep your own test flow explicit.
- Docs and IDE helpers: Includes a consumer guide, examples, and EmmyLua helper annotations for easier development.
If DribbleSpec helps you build or maintain BG3 mods, please endorse it here on Nexus!
Installation
- Download the .zip file and install using BG3MM.
- Keep DribbleSpec loaded above the mod you want to test.
- Require your own test init file before running !dribbles or your custom command alias.
Requirements
DribbleSpec does not auto-discover mod tests; your mod should load its test files explicitly, as any other script file.
****My mods
Waypoint Inside Emerald Grove - adds an actual waypoint inside Emerald Grove
Fix Stragglers - automatically boosts/teleports companions who get stuck or fall behind
Configurable Party Limit - allows decreasing/increasing the party size with MCM
Reduce NPC Banter Repetitiveness - adds delays before NPC banter repeats
Auto Send Read Books To Camp - automatically sends read books to camp chest
Auto Use Soap - automatically uses soap after combat/entering camp
Preemptively Label Containers - automatically tags nearby containers with 'Empty' or their item count
Smart Autosaving - creates conditional autosaves at set intervals
Short Rest Cooldown - enforces configurable cooldown after using short rest
Auto Send Food To Camp - sends food to camp chest automatically
Auto Lockpicking - initiates lockpicking automatically
Configurable Pickpocketing - configure pickpocketing difficulty parameters
Configurable Fall Damage - configure fall damage and prone parameters
Pause The Game - Allows pausing the game
Custom Disguise Self Appearance - Allow Disguise Self forms to be customized with CPF presets
**Post-Combat Cleanup - **automatically clears concentration, Wild Shape, and Slayer form after combat ends
**Dynamic Camera Rotation Sensitivity - **smooths camera rotation and sensitivity based on mouse speed
Tools/Resources******DribbleSpec - **reusable BG3SE test framework for Lua mods
Mod Uninstaller - allows uninstalling mods that add items/statuses
Mod Configuration Menu - offers a graphical interface for easy management of mod settings
Character Preset Framework - easily import, create and share character appearance presets
AV Item Shipment Framework - allows authors to easily send items to player/camp chests
Volition Cabinet - library mod for my other mods
Better Photo Mode - configurable camera settings in photo mode via MCM**[
](https://discord.gg/PUx3vJgapM)**



来源与文件
- 原作者:Volitio
- 原项目:DribbleSpec
- 文件:DribbleSpec 0.1.0(ID:116340)
来源列出的依赖与关系
前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。
<!-- aoe-mods-source:nexusmods:baldursgate3:21808 -->