Re: source-file, header-file, library, resource-file, and framework handler for platform

2014-04-02 Thread Mark Koudritsky
There was a discussion about tests in cordova-clihttps://www.mail-archive.com/dev@cordova.apache.org/msg11708.html back in November. Very short summary: For a filesystem oriented tool we are mocking out way too much of the fs functionality when testing. This results in brittle hard to maintain

Re: source-file, header-file, library, resource-file, and framework handler for platform

2014-04-02 Thread Josh Soref
Mark wrote: While empty stub functions might be needed for compliance with an interface, personally I don't see any reasons for testing the empty stub functions in this case. +1 to not testing empty stubs.

source-file, header-file, library, resource-file, and framework handler for platform

2014-04-01 Thread Schulhof, Gabriel
Hi! In [0] Anis explains that each platform has to provide a handler for installing/uninstalling at least files of the type source-file, even if they do nothing. Now, AIUI, source-file refers to adding platform-specific source code which ends up as native code (C#, java, objective C ,etc.). I