nangtani / blender-addon-tester

The blender addon tester is a test harness to enable pytest hook to allow addons to be tested inside a defined version of blender.
MIT License
64 stars 13 forks source link

Refactor: Versatility - tests absolute paths #33

Closed Tilix4 closed 3 years ago

Tilix4 commented 3 years ago

Hi! Sorry for the huge delay.

I've added the tests for my feature, it show the tests can be run from anywhere if giving absolute paths to the script.

Hope it suits you.

Tilix4 commented 3 years ago

Hi @douglaskastle, Did you have time to look at it?

douglaskastle commented 3 years ago

Sorry for the delay too, I now have some time to look at this repo again, there was not much in that merge, is that the real code you want?

Tilix4 commented 3 years ago

It's a first step for running tests into an app template. I'll propose a PR later when I'll have something robust.

It'll include some refactor from your original code I think, if you don't mind. I'll make sure it works still fine for addons.