mottosso Posted September 20, 2016 Report Share Posted September 20, 2016 Hi ftrack, I'm looking to setup continuous integration for software involving ftrack, and was wondering whether there could be, or already is, a mock for the API? Something I could run locally and send requests to, with fairly relevant responses, without requiring access to your cloud-based infrastructure and login credentials. That way, I could build unit-tests that run automatically on other cloud-based services, such as Travis-CI and AppVeyor. Thanks. Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted September 22, 2016 Report Share Posted September 22, 2016 Hey, Unfortunately there is no mock of either the legacy or the new python api. In some unit tests we mock isolated parts of the api, but these are smaller things and hardly suitable for your use-cases. Link to comment Share on other sites More sharing options...
mottosso Posted September 22, 2016 Author Report Share Posted September 22, 2016 Thanks for getting back, Mattias. Would there be interest in building such a mock? I've ran into the need for something like this a few times now and would build one for myself regardless, but perhaps it could be worth strengthening unit-testability of software built on-top of ftrack overall? I'm picturing a mock that simulates a small project, with a few fixed assets and shots, such that most rudimentary queries work. Let's say the goal is having a GUI, such as a minimal asset browser, to run on-top of it without noticing a difference. Link to comment Share on other sites More sharing options...
mottosso Posted October 5, 2016 Author Report Share Posted October 5, 2016 For completeness, I'll consider the silence as a "no". If anything changes regarding this, I'd love to be in the loop! Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted October 10, 2016 Report Share Posted October 10, 2016 On 10/5/2016 at 11:24 PM, mottosso said: For completeness, I'll consider the silence as a "no". I'm sorry that I went quiet on you, I somehow missed you replying on this thread! OT: I can definitely see the usefulness of this but at the moment it is not a priority on our side. I will let you know if this changes. Please let us know if you ever find the time to start on a general purpose/open source mock yourself! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.