4 ms·
i found Baas really hard to test , especially when you need to upload some bits of business logic somewhere ... I tried a bit with couchdb and couchapp, but i n
by camus 13y ago
i found Baas really hard to test , especially when you need to upload some bits of business logic somewhere ...
I tried a bit with couchdb and couchapp, but i never figured out how to unit tests attached documents. Parse works a bit the same way. How do you do testing on Baas ?
- aespinoza 13y agoOn iKnode you can test your backend with simple Javascript Unit Tests. We have a sample in our Javascript SDK: https://github.com/Structum/iKnodeSdk/tree/master/Javascript https://github.com/Structum/iKnodeSdk/tree/master/Javascript What you do is you create your Backend App in iKnode like this one: https://github.com/Structum/iKnodeSdk/blob/master/Javascript/UserService.cs.txt https://github.com/Structum/iKnodeSdk/blob/master/Javascript... Then you write your Unit Tests in Javascript like in here: https://github.com/Structum/iKnodeSdk/blob/master/Javascript/UnitTests/iKnodeSdkTest.js https://github.com/Structum/iKnodeSdk/blob/master/Javascript... You can also run any other Unit Test framework against iKnode, for example we have: - C# with Microsoft Unit Test:https://github.com/Structum/iKnodeSdk/tree/master/C%23 https://github.com/Structum/iKnodeSdk/tree/master/C%23 - Objective-C with Unit Tests: https://github.com/Structum/iKnodeSdk/tree/master/Objective-C https://github.com/Structum/iKnodeSdk/tree/master/Objective-...