We don't complete have total separation of platforms yet, the unit tests
live in cordova-lib repo for CLI workflow. One spec file per platform.

So I will suggest if you were going to add a new platform today to
cordova-lib that you add spec files to both cli and plugman.

https://github.com/apache/cordova-lib/tree/master/cordova-lib/spec-cordova/metadata/
https://github.com/apache/cordova-lib/tree/master/cordova-lib/spec-plugman/platforms/

These are more integration tests between tool and platform, but I was not
100% what you where referring with a term "spec" :-)


In terms of your own platform repo containing tests, that's up to the
platform implementation and nature of it.




On Fri, Aug 15, 2014 at 3:28 AM, Puneet Kaur <puneet.gk...@gmail.com> wrote:

> Is it mandatory to make a spec file to add our platform to cordova ?
>
> We are through with the rest of technicalities but dont have a spec file as
> of now, so just wished to ask if spec file is mandatory to add our platform
> to the cordova ?
>



-- 
Carlos Santana
<csantan...@gmail.com>

Reply via email to