News for hackers. Stuff that matters.
Re:NoBackend: Front-End First Web Development by camus on Thursday May 02, 2013 @06:17PM (#5647539)
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 ?
Re:NoBackend: Front-End First Web Development by aespinoza on Thursday May 02, 2013 @06:40PM (#5647664)
On 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

What you do is you create your Backend App in iKnode like this one: 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...

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

- Objective-C with Unit Tests: https://github.com/Structum/iKnodeSdk/tree/master/Objective-...