diff --git a/tests/quickjs/bindings.lua b/tests/quickjs/bindings.lua
new file mode 100644
index 00000000..17f3030c
--- /dev/null
+++ b/tests/quickjs/bindings.lua
@@ -0,0 +1,22 @@
+generator "quickjs"
+architecture "x64"
+
+includedirs
+{
+    "..",
+    "../../include",
+}
+
+output "gen"
+
+module "test"
+    namespace "test"
+    headers
+    {
+        "Builtins.h",
+        "Classes.h",
+        "Classes2.h",
+        "Delegates.h",
+        "Enums.h",
+        "Overloads.h"
+    }
diff --git a/tests/quickjs/test.sh b/tests/quickjs/test.sh
index 046657c4..ef088f0a 100755
--- a/tests/quickjs/test.sh
+++ b/tests/quickjs/test.sh
@@ -16,7 +16,7 @@ generate=true
 if [ $generate = true ]; then
     echo "${green}Generating bindings${reset}"
     dotnet $rootdir/bin/${dotnet_configuration}_${platform}/CppSharp.CLI.dll \
-        --gen=qjs -I$dir/.. -I$rootdir/include -o $dir/gen -m tests $dir/../*.h
+    $dir/bindings.lua
 fi
 
 echo "${green}Building generated binding files${reset}"