Compiling is a lot of time even compiling only the modified module, so detecting an error in a .wrap file when trying to change python wrappers is a pain.
Is there any way to test .wrap files without compiling?
If not, any way to detecting the error faster?
There is not way to fully test the wrap file without compiling it. It would be great to have such a mechanism, but it needs to be implemented. One thing you can do though is to try to debug it without the compilation being fully done.
Add message() statements in the file to see at configuration time if the filter types expand to what you expect.
Find the cxx file(s) corresponding to your filter(s) in the build directory. The files that are generated are created in the Wrapping subfolder. Looking at this file will allow you to see if you are wrapping the types you expect.