Re: plugin-test-framework PRs
On Fri, Aug 1, 2014 at 1:19 PM, Staci Cooper staci@gmail.com wrote: I've noticed some problems I'd like to bring up. 1) https://github.com/apache/cordova-mobile-spec/blob/master/www/index.html#L44 This line breaks on windows phone when the query property is used. Using a fragment (?back - #back) would work just as well I think (assuming this would fix WP) 2) My pull requests include the manual tests for contacts, device-motion, and geolocation on top of existing automated tests, which I did not change. I just tested those automated tests and they are breaking on WP; there are 2 tests failing in geolocation which shouldn't and 3 in contacts. Device-motion is more severe and is breaking the entire test suite on WP. I can start looking into those. 3) I'm not sure how to make the PRs to mobile-spec for removing tests without requiring them to be merged in a specific order or causing merge conflicts around pages like index.html. My suggestion is that we make a PR for each plugin which removes the test files but leaves the buttons/script elements in to avoid merge conflicts, and just add a warning to mobile-spec that some links will be broken while we go through the porting process. Then when everything is done we can remove the links in a final PR. -Staci On Fri, Aug 1, 2014 at 3:55 AM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: Hey Michal, I've followed up your instructions to easily integrate the test along with plugin-test-framework, as you can see I have spammed a little bit the dev list with PRs, anyway here's the list of PRs, that includes File, Media, Battery-Status and Vibration: https://github.com/apache/cordova-plugin-file/pull/62 https://github.com/apache/cordova-plugin-media/pull/21 https://github.com/apache/cordova-plugin-battery-status/pull/15 https://github.com/apache/cordova-plugin-vibration/pull/19 And the removed tests at mobile-spec: File: https://github.com/apache/cordova-mobile-spec/pull/86 Media: https://github.com/apache/cordova-mobile-spec/pull/85 Battery: https://github.com/apache/cordova-mobile-spec/pull/87 Vibration: https://github.com/apache/cordova-mobile-spec/pull/88 Also a few days ago, I created a PR against plugin-test-framework, just some little changes to the css, all details on the description: https://github.com/apache/cordova-plugin-test-framework/pull/3 Everything tested with createmobilespec, and android device. If you can take a look to any of this, it would be awesome. Thanks, Best Regards, Martin 2014-07-30 10:44 GMT-05:00 Staci Cooper staci@gmail.com: Sounds good, I'll get started. On Wed, Jul 30, 2014 at 11:33 AM, Michal Mocny mmo...@chromium.org wrote: Things to help move this along: - Move test directories to tests and add nested plugin.xml, that would be a great. You can look at an example here: https://github.com/apache/cordova-plugin-device/tree/master/tests - Test the PR locally by running the mobilespec create script to make sure the plugin tests install fine and run well. (The part that adds new-style tests is here: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec/createmobilespec.js#L248 ) - Double check to make sure we have covered all tests currently in mobilespec, and submit PR to remove the old tests from mobilespec app. I would not like to land the new tests without removing the old tests as well. Thanks a bunch! On Wed, Jul 30, 2014 at 11:25 AM, Staci Cooper staci@gmail.com wrote: Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script will automatically install plugin tests. - Last week I moved device tests from mobile-spec over to plugin tests, and modified the file plugin tests to use a nested plugin.xml. - File and FileTransfer tests are tightly coupled in mobile-spec, and should be removed together. I have this mostly finished locally, but.. - I want to set up ci.cordova.io to include results of new-style tests before ripping out huge portions of mobile
Re: plugin-test-framework PRs
yes, or even #?back @purplecabbage risingj.com On Wed, Aug 6, 2014 at 11:07 AM, Andrew Grieve agri...@chromium.org wrote: On Fri, Aug 1, 2014 at 1:19 PM, Staci Cooper staci@gmail.com wrote: I've noticed some problems I'd like to bring up. 1) https://github.com/apache/cordova-mobile-spec/blob/master/www/index.html#L44 This line breaks on windows phone when the query property is used. Using a fragment (?back - #back) would work just as well I think (assuming this would fix WP) 2) My pull requests include the manual tests for contacts, device-motion, and geolocation on top of existing automated tests, which I did not change. I just tested those automated tests and they are breaking on WP; there are 2 tests failing in geolocation which shouldn't and 3 in contacts. Device-motion is more severe and is breaking the entire test suite on WP. I can start looking into those. 3) I'm not sure how to make the PRs to mobile-spec for removing tests without requiring them to be merged in a specific order or causing merge conflicts around pages like index.html. My suggestion is that we make a PR for each plugin which removes the test files but leaves the buttons/script elements in to avoid merge conflicts, and just add a warning to mobile-spec that some links will be broken while we go through the porting process. Then when everything is done we can remove the links in a final PR. -Staci On Fri, Aug 1, 2014 at 3:55 AM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: Hey Michal, I've followed up your instructions to easily integrate the test along with plugin-test-framework, as you can see I have spammed a little bit the dev list with PRs, anyway here's the list of PRs, that includes File, Media, Battery-Status and Vibration: https://github.com/apache/cordova-plugin-file/pull/62 https://github.com/apache/cordova-plugin-media/pull/21 https://github.com/apache/cordova-plugin-battery-status/pull/15 https://github.com/apache/cordova-plugin-vibration/pull/19 And the removed tests at mobile-spec: File: https://github.com/apache/cordova-mobile-spec/pull/86 Media: https://github.com/apache/cordova-mobile-spec/pull/85 Battery: https://github.com/apache/cordova-mobile-spec/pull/87 Vibration: https://github.com/apache/cordova-mobile-spec/pull/88 Also a few days ago, I created a PR against plugin-test-framework, just some little changes to the css, all details on the description: https://github.com/apache/cordova-plugin-test-framework/pull/3 Everything tested with createmobilespec, and android device. If you can take a look to any of this, it would be awesome. Thanks, Best Regards, Martin 2014-07-30 10:44 GMT-05:00 Staci Cooper staci@gmail.com: Sounds good, I'll get started. On Wed, Jul 30, 2014 at 11:33 AM, Michal Mocny mmo...@chromium.org wrote: Things to help move this along: - Move test directories to tests and add nested plugin.xml, that would be a great. You can look at an example here: https://github.com/apache/cordova-plugin-device/tree/master/tests - Test the PR locally by running the mobilespec create script to make sure the plugin tests install fine and run well. (The part that adds new-style tests is here: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec/createmobilespec.js#L248 ) - Double check to make sure we have covered all tests currently in mobilespec, and submit PR to remove the old tests from mobilespec app. I would not like to land the new tests without removing the old tests as well. Thanks a bunch! On Wed, Jul 30, 2014 at 11:25 AM, Staci Cooper staci@gmail.com wrote: Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script will automatically install plugin tests. - Last week I moved device tests from mobile-spec over to plugin tests, and modified the file plugin tests to use a nested plugin.xml
Re: plugin-test-framework PRs
Done, but didn't test on wp. On Wed, Aug 6, 2014 at 2:22 PM, Jesse purplecabb...@gmail.com wrote: yes, or even #?back @purplecabbage risingj.com On Wed, Aug 6, 2014 at 11:07 AM, Andrew Grieve agri...@chromium.org wrote: On Fri, Aug 1, 2014 at 1:19 PM, Staci Cooper staci@gmail.com wrote: I've noticed some problems I'd like to bring up. 1) https://github.com/apache/cordova-mobile-spec/blob/master/www/index.html#L44 This line breaks on windows phone when the query property is used. Using a fragment (?back - #back) would work just as well I think (assuming this would fix WP) 2) My pull requests include the manual tests for contacts, device-motion, and geolocation on top of existing automated tests, which I did not change. I just tested those automated tests and they are breaking on WP; there are 2 tests failing in geolocation which shouldn't and 3 in contacts. Device-motion is more severe and is breaking the entire test suite on WP. I can start looking into those. 3) I'm not sure how to make the PRs to mobile-spec for removing tests without requiring them to be merged in a specific order or causing merge conflicts around pages like index.html. My suggestion is that we make a PR for each plugin which removes the test files but leaves the buttons/script elements in to avoid merge conflicts, and just add a warning to mobile-spec that some links will be broken while we go through the porting process. Then when everything is done we can remove the links in a final PR. -Staci On Fri, Aug 1, 2014 at 3:55 AM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: Hey Michal, I've followed up your instructions to easily integrate the test along with plugin-test-framework, as you can see I have spammed a little bit the dev list with PRs, anyway here's the list of PRs, that includes File, Media, Battery-Status and Vibration: https://github.com/apache/cordova-plugin-file/pull/62 https://github.com/apache/cordova-plugin-media/pull/21 https://github.com/apache/cordova-plugin-battery-status/pull/15 https://github.com/apache/cordova-plugin-vibration/pull/19 And the removed tests at mobile-spec: File: https://github.com/apache/cordova-mobile-spec/pull/86 Media: https://github.com/apache/cordova-mobile-spec/pull/85 Battery: https://github.com/apache/cordova-mobile-spec/pull/87 Vibration: https://github.com/apache/cordova-mobile-spec/pull/88 Also a few days ago, I created a PR against plugin-test-framework, just some little changes to the css, all details on the description: https://github.com/apache/cordova-plugin-test-framework/pull/3 Everything tested with createmobilespec, and android device. If you can take a look to any of this, it would be awesome. Thanks, Best Regards, Martin 2014-07-30 10:44 GMT-05:00 Staci Cooper staci@gmail.com: Sounds good, I'll get started. On Wed, Jul 30, 2014 at 11:33 AM, Michal Mocny mmo...@chromium.org wrote: Things to help move this along: - Move test directories to tests and add nested plugin.xml, that would be a great. You can look at an example here: https://github.com/apache/cordova-plugin-device/tree/master/tests - Test the PR locally by running the mobilespec create script to make sure the plugin tests install fine and run well. (The part that adds new-style tests is here: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec/createmobilespec.js#L248 ) - Double check to make sure we have covered all tests currently in mobilespec, and submit PR to remove the old tests from mobilespec app. I would not like to land the new tests without removing the old tests as well. Thanks a bunch! On Wed, Jul 30, 2014 at 11:25 AM, Staci Cooper staci@gmail.com wrote: Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch
[GitHub] cordova-mobile-spec pull request: CB-6466 Created mobile-spec test
Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-mobile-spec/pull/58#issuecomment-51418072 is this still valid? with everything moved to plugin tests ... merge conflicts. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-mobile-spec pull request: [CB-2412] Adding manual test for...
Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-mobile-spec/pull/16#issuecomment-51418146 is this still valid? with everything moved to plugin tests ... merge conflicts. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-mobile-spec pull request: [CB-1933] Added a test for confi...
Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-mobile-spec/pull/6#issuecomment-51418167 is this still valid? with everything moved to plugin tests ... merge conflicts. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-contacts pull request: CB-7148 Ported contacts test...
Github user stacic commented on the pull request: https://github.com/apache/cordova-plugin-contacts/pull/33#issuecomment-51077076 Tests removed from mobile-spec here: https://github.com/apache/cordova-mobile-spec/pull/90 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-globalization pull request: Port globalization test...
Github user stacic commented on the pull request: https://github.com/apache/cordova-plugin-globalization/pull/16#issuecomment-51078873 Mobile-spec tests removed here: https://github.com/apache/cordova-mobile-spec/pull/95 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: plugin-test-framework PRs
Hey Michal, I've followed up your instructions to easily integrate the test along with plugin-test-framework, as you can see I have spammed a little bit the dev list with PRs, anyway here's the list of PRs, that includes File, Media, Battery-Status and Vibration: https://github.com/apache/cordova-plugin-file/pull/62 https://github.com/apache/cordova-plugin-media/pull/21 https://github.com/apache/cordova-plugin-battery-status/pull/15 https://github.com/apache/cordova-plugin-vibration/pull/19 And the removed tests at mobile-spec: File: https://github.com/apache/cordova-mobile-spec/pull/86 Media: https://github.com/apache/cordova-mobile-spec/pull/85 Battery: https://github.com/apache/cordova-mobile-spec/pull/87 Vibration: https://github.com/apache/cordova-mobile-spec/pull/88 Also a few days ago, I created a PR against plugin-test-framework, just some little changes to the css, all details on the description: https://github.com/apache/cordova-plugin-test-framework/pull/3 Everything tested with createmobilespec, and android device. If you can take a look to any of this, it would be awesome. Thanks, Best Regards, Martin 2014-07-30 10:44 GMT-05:00 Staci Cooper staci@gmail.com: Sounds good, I'll get started. On Wed, Jul 30, 2014 at 11:33 AM, Michal Mocny mmo...@chromium.org wrote: Things to help move this along: - Move test directories to tests and add nested plugin.xml, that would be a great. You can look at an example here: https://github.com/apache/cordova-plugin-device/tree/master/tests - Test the PR locally by running the mobilespec create script to make sure the plugin tests install fine and run well. (The part that adds new-style tests is here: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec/createmobilespec.js#L248 ) - Double check to make sure we have covered all tests currently in mobilespec, and submit PR to remove the old tests from mobilespec app. I would not like to land the new tests without removing the old tests as well. Thanks a bunch! On Wed, Jul 30, 2014 at 11:25 AM, Staci Cooper staci@gmail.com wrote: Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script will automatically install plugin tests. - Last week I moved device tests from mobile-spec over to plugin tests, and modified the file plugin tests to use a nested plugin.xml. - File and FileTransfer tests are tightly coupled in mobile-spec, and should be removed together. I have this mostly finished locally, but.. - I want to set up ci.cordova.io to include results of new-style tests before ripping out huge portions of mobile spec, which is what I'm doing now. Few notes: - The PR's have created a test folder, but I had written scripts to expect tests folder. Its easy to change or just accept both, but I wonder if we should settle on a single convention. Total bikeshed topic, so I'll just pick one. - PR's for new tests seem to be well isolated from each other (unlike mobilespec). Aka you can run FileTransfer tests without File tests. Good job! -Michal On Wed, Jul 16, 2014 at 5:02 PM, Michal Mocny mmo...@chromium.org wrote: Sure, I was actually already planning to take a look this week. I was working on mobile-spec today and have *also* ported device tests :P I should have looked at the PR's first! Will start these tomorrow. The plan for mobile spec was just to have a transition path, by adding a link to the old mobile-spec app to open the new-style-tests harness. Then, as we move tests from mobile-spec to new-style, we should remove the old tests from mobile-spec. Doing it this way means cordova committers have a single place to run all tests, and when mobile-spec is 100% completely deprecated, then we can just switch the start page with no change to committers. Thanks for your work here! -Michal On Wed, Jul 16, 2014 at 4:38 PM, Staci Cooper staci@gmail.com wrote: Hi all, Several of us at IBM have been working on porting tests from mobile-spec to the plugin-test
Re: plugin-test-framework PRs
I've noticed some problems I'd like to bring up. 1) https://github.com/apache/cordova-mobile-spec/blob/master/www/index.html#L44 This line breaks on windows phone when the query property is used. 2) My pull requests include the manual tests for contacts, device-motion, and geolocation on top of existing automated tests, which I did not change. I just tested those automated tests and they are breaking on WP; there are 2 tests failing in geolocation which shouldn't and 3 in contacts. Device-motion is more severe and is breaking the entire test suite on WP. I can start looking into those. 3) I'm not sure how to make the PRs to mobile-spec for removing tests without requiring them to be merged in a specific order or causing merge conflicts around pages like index.html. My suggestion is that we make a PR for each plugin which removes the test files but leaves the buttons/script elements in to avoid merge conflicts, and just add a warning to mobile-spec that some links will be broken while we go through the porting process. Then when everything is done we can remove the links in a final PR. -Staci On Fri, Aug 1, 2014 at 3:55 AM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: Hey Michal, I've followed up your instructions to easily integrate the test along with plugin-test-framework, as you can see I have spammed a little bit the dev list with PRs, anyway here's the list of PRs, that includes File, Media, Battery-Status and Vibration: https://github.com/apache/cordova-plugin-file/pull/62 https://github.com/apache/cordova-plugin-media/pull/21 https://github.com/apache/cordova-plugin-battery-status/pull/15 https://github.com/apache/cordova-plugin-vibration/pull/19 And the removed tests at mobile-spec: File: https://github.com/apache/cordova-mobile-spec/pull/86 Media: https://github.com/apache/cordova-mobile-spec/pull/85 Battery: https://github.com/apache/cordova-mobile-spec/pull/87 Vibration: https://github.com/apache/cordova-mobile-spec/pull/88 Also a few days ago, I created a PR against plugin-test-framework, just some little changes to the css, all details on the description: https://github.com/apache/cordova-plugin-test-framework/pull/3 Everything tested with createmobilespec, and android device. If you can take a look to any of this, it would be awesome. Thanks, Best Regards, Martin 2014-07-30 10:44 GMT-05:00 Staci Cooper staci@gmail.com: Sounds good, I'll get started. On Wed, Jul 30, 2014 at 11:33 AM, Michal Mocny mmo...@chromium.org wrote: Things to help move this along: - Move test directories to tests and add nested plugin.xml, that would be a great. You can look at an example here: https://github.com/apache/cordova-plugin-device/tree/master/tests - Test the PR locally by running the mobilespec create script to make sure the plugin tests install fine and run well. (The part that adds new-style tests is here: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec/createmobilespec.js#L248 ) - Double check to make sure we have covered all tests currently in mobilespec, and submit PR to remove the old tests from mobilespec app. I would not like to land the new tests without removing the old tests as well. Thanks a bunch! On Wed, Jul 30, 2014 at 11:25 AM, Staci Cooper staci@gmail.com wrote: Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script will automatically install plugin tests. - Last week I moved device tests from mobile-spec over to plugin tests, and modified the file plugin tests to use a nested plugin.xml. - File and FileTransfer tests are tightly coupled in mobile-spec, and should be removed together. I have this mostly finished locally, but.. - I want to set up ci.cordova.io to include results of new-style tests before ripping out huge portions of mobile spec, which is what I'm doing now. Few notes: - The PR's have created a test folder, but I had written scripts to expect tests folder. Its easy to change or just accept both, but I wonder if we should settle on a single convention. Total bikeshed topic, so I'll
Re: plugin-test-framework PRs
On Fri, Aug 1, 2014 at 1:19 PM, Staci Cooper staci@gmail.com wrote: I've noticed some problems I'd like to bring up. 1) https://github.com/apache/cordova-mobile-spec/blob/master/www/index.html#L44 This line breaks on windows phone when the query property is used. 1. was a recent change. I'm happy to revert / would love a fix if you have easy access to test on windows phone. 2) My pull requests include the manual tests for contacts, device-motion, and geolocation on top of existing automated tests, which I did not change. I just tested those automated tests and they are breaking on WP; there are 2 tests failing in geolocation which shouldn't and 3 in contacts. Device-motion is more severe and is breaking the entire test suite on WP. I can start looking into those. Thank you for bringing that up. Jesse has been awesome at helping test this stuff on windows so far, perhaps I'll ask him (and bryan/josh for BB) to confirm before landing these PR's. 3) I'm not sure how to make the PRs to mobile-spec for removing tests without requiring them to be merged in a specific order or causing merge conflicts around pages like index.html. My suggestion is that we make a PR for each plugin which removes the test files but leaves the buttons/script elements in to avoid merge conflicts, and just add a warning to mobile-spec that some links will be broken while we go through the porting process. Then when everything is done we can remove the links in a final PR. I've run into these issues before. I usually resolve the merge conflict locally in the merge commit. Usually they aren't hard. If the conflicts are actually hairy, I'm happy to remove the finally bits in bulk as you suggest. -Staci Thanks for all the effort here! On Fri, Aug 1, 2014 at 3:55 AM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: Hey Michal, I've followed up your instructions to easily integrate the test along with plugin-test-framework, as you can see I have spammed a little bit the dev list with PRs, anyway here's the list of PRs, that includes File, Media, Battery-Status and Vibration: https://github.com/apache/cordova-plugin-file/pull/62 https://github.com/apache/cordova-plugin-media/pull/21 https://github.com/apache/cordova-plugin-battery-status/pull/15 https://github.com/apache/cordova-plugin-vibration/pull/19 And the removed tests at mobile-spec: File: https://github.com/apache/cordova-mobile-spec/pull/86 Media: https://github.com/apache/cordova-mobile-spec/pull/85 Battery: https://github.com/apache/cordova-mobile-spec/pull/87 Vibration: https://github.com/apache/cordova-mobile-spec/pull/88 Also a few days ago, I created a PR against plugin-test-framework, just some little changes to the css, all details on the description: https://github.com/apache/cordova-plugin-test-framework/pull/3 Everything tested with createmobilespec, and android device. If you can take a look to any of this, it would be awesome. Thanks, Best Regards, Martin 2014-07-30 10:44 GMT-05:00 Staci Cooper staci@gmail.com: Sounds good, I'll get started. On Wed, Jul 30, 2014 at 11:33 AM, Michal Mocny mmo...@chromium.org wrote: Things to help move this along: - Move test directories to tests and add nested plugin.xml, that would be a great. You can look at an example here: https://github.com/apache/cordova-plugin-device/tree/master/tests - Test the PR locally by running the mobilespec create script to make sure the plugin tests install fine and run well. (The part that adds new-style tests is here: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec/createmobilespec.js#L248 ) - Double check to make sure we have covered all tests currently in mobilespec, and submit PR to remove the old tests from mobilespec app. I would not like to land the new tests without removing the old tests as well. Thanks a bunch! On Wed, Jul 30, 2014 at 11:25 AM, Staci Cooper staci@gmail.com wrote: Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script
Re: plugin-test-framework PRs
Staci, why not just one pull request for all these changes? Sent from my iPhone On Aug 1, 2014, at 10:19 AM, Staci Cooper staci@gmail.com wrote: I've noticed some problems I'd like to bring up. 1) https://github.com/apache/cordova-mobile-spec/blob/master/www/index.html#L44 This line breaks on windows phone when the query property is used. 2) My pull requests include the manual tests for contacts, device-motion, and geolocation on top of existing automated tests, which I did not change. I just tested those automated tests and they are breaking on WP; there are 2 tests failing in geolocation which shouldn't and 3 in contacts. Device-motion is more severe and is breaking the entire test suite on WP. I can start looking into those. 3) I'm not sure how to make the PRs to mobile-spec for removing tests without requiring them to be merged in a specific order or causing merge conflicts around pages like index.html. My suggestion is that we make a PR for each plugin which removes the test files but leaves the buttons/script elements in to avoid merge conflicts, and just add a warning to mobile-spec that some links will be broken while we go through the porting process. Then when everything is done we can remove the links in a final PR. -Staci On Fri, Aug 1, 2014 at 3:55 AM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: Hey Michal, I've followed up your instructions to easily integrate the test along with plugin-test-framework, as you can see I have spammed a little bit the dev list with PRs, anyway here's the list of PRs, that includes File, Media, Battery-Status and Vibration: https://github.com/apache/cordova-plugin-file/pull/62 https://github.com/apache/cordova-plugin-media/pull/21 https://github.com/apache/cordova-plugin-battery-status/pull/15 https://github.com/apache/cordova-plugin-vibration/pull/19 And the removed tests at mobile-spec: File: https://github.com/apache/cordova-mobile-spec/pull/86 Media: https://github.com/apache/cordova-mobile-spec/pull/85 Battery: https://github.com/apache/cordova-mobile-spec/pull/87 Vibration: https://github.com/apache/cordova-mobile-spec/pull/88 Also a few days ago, I created a PR against plugin-test-framework, just some little changes to the css, all details on the description: https://github.com/apache/cordova-plugin-test-framework/pull/3 Everything tested with createmobilespec, and android device. If you can take a look to any of this, it would be awesome. Thanks, Best Regards, Martin 2014-07-30 10:44 GMT-05:00 Staci Cooper staci@gmail.com: Sounds good, I'll get started. On Wed, Jul 30, 2014 at 11:33 AM, Michal Mocny mmo...@chromium.org wrote: Things to help move this along: - Move test directories to tests and add nested plugin.xml, that would be a great. You can look at an example here: https://github.com/apache/cordova-plugin-device/tree/master/tests - Test the PR locally by running the mobilespec create script to make sure the plugin tests install fine and run well. (The part that adds new-style tests is here: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec/createmobilespec.js#L248 ) - Double check to make sure we have covered all tests currently in mobilespec, and submit PR to remove the old tests from mobilespec app. I would not like to land the new tests without removing the old tests as well. Thanks a bunch! On Wed, Jul 30, 2014 at 11:25 AM, Staci Cooper staci@gmail.com wrote: Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script will automatically install plugin tests. - Last week I moved device tests from mobile-spec over to plugin tests, and modified the file plugin tests to use a nested plugin.xml. - File and FileTransfer tests are tightly coupled in mobile-spec, and should be removed together. I have this mostly finished locally, but.. - I want to set up ci.cordova.io to include results of new-style tests before ripping out huge portions of mobile spec, which is what I'm doing now. Few notes: - The PR's have created a test folder, but I had written scripts to expect tests folder. Its easy to change or just accept both, but I wonder if we should settle on a single convention. Total bikeshed
Re: plugin-test-framework PRs
Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script will automatically install plugin tests. - Last week I moved device tests from mobile-spec over to plugin tests, and modified the file plugin tests to use a nested plugin.xml. - File and FileTransfer tests are tightly coupled in mobile-spec, and should be removed together. I have this mostly finished locally, but.. - I want to set up ci.cordova.io to include results of new-style tests before ripping out huge portions of mobile spec, which is what I'm doing now. Few notes: - The PR's have created a test folder, but I had written scripts to expect tests folder. Its easy to change or just accept both, but I wonder if we should settle on a single convention. Total bikeshed topic, so I'll just pick one. - PR's for new tests seem to be well isolated from each other (unlike mobilespec). Aka you can run FileTransfer tests without File tests. Good job! -Michal On Wed, Jul 16, 2014 at 5:02 PM, Michal Mocny mmo...@chromium.org wrote: Sure, I was actually already planning to take a look this week. I was working on mobile-spec today and have *also* ported device tests :P I should have looked at the PR's first! Will start these tomorrow. The plan for mobile spec was just to have a transition path, by adding a link to the old mobile-spec app to open the new-style-tests harness. Then, as we move tests from mobile-spec to new-style, we should remove the old tests from mobile-spec. Doing it this way means cordova committers have a single place to run all tests, and when mobile-spec is 100% completely deprecated, then we can just switch the start page with no change to committers. Thanks for your work here! -Michal On Wed, Jul 16, 2014 at 4:38 PM, Staci Cooper staci@gmail.com wrote: Hi all, Several of us at IBM have been working on porting tests from mobile-spec to the plugin-test-framework. I believe we have pull requests out for all of the automated tests; we also have the manual tests ported and are just wrapping up testing on ios/android, so those additional pull requests should be out by tomorrow evening. Can we get these reviewed soon to avoid getting out of sync with mobile spec? Michal, if you have time to take a look that would be fantastic; we can also get some of the IBM committers to help if needed. Related note: I see that Michal added the new style tests to mobile-spec, but is the plan for plugin-test-framework to be supplementary to mobile-spec tests? It seems there would be problems keeping them in sync. If it hasn't already been suggested, I propose removing mobile-spec tests as the ported tests get merged in. The mobile-spec project would eventually become a shell project with all tests run through plugin-test-framework and installed plugins. Thanks, Staci Cooper
Re: plugin-test-framework PRs
Things to help move this along: - Move test directories to tests and add nested plugin.xml, that would be a great. You can look at an example here: https://github.com/apache/cordova-plugin-device/tree/master/tests - Test the PR locally by running the mobilespec create script to make sure the plugin tests install fine and run well. (The part that adds new-style tests is here: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec/createmobilespec.js#L248 ) - Double check to make sure we have covered all tests currently in mobilespec, and submit PR to remove the old tests from mobilespec app. I would not like to land the new tests without removing the old tests as well. Thanks a bunch! On Wed, Jul 30, 2014 at 11:25 AM, Staci Cooper staci@gmail.com wrote: Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script will automatically install plugin tests. - Last week I moved device tests from mobile-spec over to plugin tests, and modified the file plugin tests to use a nested plugin.xml. - File and FileTransfer tests are tightly coupled in mobile-spec, and should be removed together. I have this mostly finished locally, but.. - I want to set up ci.cordova.io to include results of new-style tests before ripping out huge portions of mobile spec, which is what I'm doing now. Few notes: - The PR's have created a test folder, but I had written scripts to expect tests folder. Its easy to change or just accept both, but I wonder if we should settle on a single convention. Total bikeshed topic, so I'll just pick one. - PR's for new tests seem to be well isolated from each other (unlike mobilespec). Aka you can run FileTransfer tests without File tests. Good job! -Michal On Wed, Jul 16, 2014 at 5:02 PM, Michal Mocny mmo...@chromium.org wrote: Sure, I was actually already planning to take a look this week. I was working on mobile-spec today and have *also* ported device tests :P I should have looked at the PR's first! Will start these tomorrow. The plan for mobile spec was just to have a transition path, by adding a link to the old mobile-spec app to open the new-style-tests harness. Then, as we move tests from mobile-spec to new-style, we should remove the old tests from mobile-spec. Doing it this way means cordova committers have a single place to run all tests, and when mobile-spec is 100% completely deprecated, then we can just switch the start page with no change to committers. Thanks for your work here! -Michal On Wed, Jul 16, 2014 at 4:38 PM, Staci Cooper staci@gmail.com wrote: Hi all, Several of us at IBM have been working on porting tests from mobile-spec to the plugin-test-framework. I believe we have pull requests out for all of the automated tests; we also have the manual tests ported and are just wrapping up testing on ios/android, so those additional pull requests should be out by tomorrow evening. Can we get these reviewed soon to avoid getting out of sync with mobile spec? Michal, if you have time to take a look that would be fantastic; we can also get some of the IBM committers to help if needed. Related note: I see that Michal added the new style tests to mobile-spec, but is the plan for plugin-test-framework to be supplementary to mobile-spec tests? It seems there would be problems keeping them in sync. If it hasn't already been suggested, I propose removing mobile-spec tests as the ported tests get merged in. The mobile-spec project would eventually become a shell project with all tests run through plugin-test-framework and installed plugins. Thanks, Staci Cooper
Re: plugin-test-framework PRs
Sounds good, I'll get started. On Wed, Jul 30, 2014 at 11:33 AM, Michal Mocny mmo...@chromium.org wrote: Things to help move this along: - Move test directories to tests and add nested plugin.xml, that would be a great. You can look at an example here: https://github.com/apache/cordova-plugin-device/tree/master/tests - Test the PR locally by running the mobilespec create script to make sure the plugin tests install fine and run well. (The part that adds new-style tests is here: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec/createmobilespec.js#L248 ) - Double check to make sure we have covered all tests currently in mobilespec, and submit PR to remove the old tests from mobilespec app. I would not like to land the new tests without removing the old tests as well. Thanks a bunch! On Wed, Jul 30, 2014 at 11:25 AM, Staci Cooper staci@gmail.com wrote: Just want to bump this thread. Michal -- that all sounds great. Let me know if there's anything I can do to help with integration, or if the IBM committers can help with merging. Should we go ahead and add nested plugin.xml files to the PRs? Also, for reference: I tested all of my PRs on wp8 with a comparison with mobile-spec's behavior, as did Martin with his. Edna and Martin have also been testing on ios and android respectively. On Tue, Jul 22, 2014 at 9:52 AM, Michal Mocny mmo...@chromium.org wrote: Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script will automatically install plugin tests. - Last week I moved device tests from mobile-spec over to plugin tests, and modified the file plugin tests to use a nested plugin.xml. - File and FileTransfer tests are tightly coupled in mobile-spec, and should be removed together. I have this mostly finished locally, but.. - I want to set up ci.cordova.io to include results of new-style tests before ripping out huge portions of mobile spec, which is what I'm doing now. Few notes: - The PR's have created a test folder, but I had written scripts to expect tests folder. Its easy to change or just accept both, but I wonder if we should settle on a single convention. Total bikeshed topic, so I'll just pick one. - PR's for new tests seem to be well isolated from each other (unlike mobilespec). Aka you can run FileTransfer tests without File tests. Good job! -Michal On Wed, Jul 16, 2014 at 5:02 PM, Michal Mocny mmo...@chromium.org wrote: Sure, I was actually already planning to take a look this week. I was working on mobile-spec today and have *also* ported device tests :P I should have looked at the PR's first! Will start these tomorrow. The plan for mobile spec was just to have a transition path, by adding a link to the old mobile-spec app to open the new-style-tests harness. Then, as we move tests from mobile-spec to new-style, we should remove the old tests from mobile-spec. Doing it this way means cordova committers have a single place to run all tests, and when mobile-spec is 100% completely deprecated, then we can just switch the start page with no change to committers. Thanks for your work here! -Michal On Wed, Jul 16, 2014 at 4:38 PM, Staci Cooper staci@gmail.com wrote: Hi all, Several of us at IBM have been working on porting tests from mobile-spec to the plugin-test-framework. I believe we have pull requests out for all of the automated tests; we also have the manual tests ported and are just wrapping up testing on ios/android, so those additional pull requests should be out by tomorrow evening. Can we get these reviewed soon to avoid getting out of sync with mobile spec? Michal, if you have time to take a look that would be fantastic; we can also get some of the IBM committers to help if needed. Related note: I see that Michal added the new style tests to mobile-spec, but is the plan for plugin-test-framework to be supplementary to mobile-spec tests? It seems there would be problems keeping them in sync. If it hasn't already been suggested, I propose removing mobile-spec tests as the ported tests get merged in. The mobile-spec project would eventually become a shell project with all tests run through plugin-test-framework and installed plugins. Thanks, Staci Cooper
Re: plugin-test-framework PRs
Just a quick update since its been a few days. - Mobile-spec now builds with new-style tests bundled in (there is a button to launch this on the first screen), and the createmobilespec.sh script will automatically install plugin tests. - Last week I moved device tests from mobile-spec over to plugin tests, and modified the file plugin tests to use a nested plugin.xml. - File and FileTransfer tests are tightly coupled in mobile-spec, and should be removed together. I have this mostly finished locally, but.. - I want to set up ci.cordova.io to include results of new-style tests before ripping out huge portions of mobile spec, which is what I'm doing now. Few notes: - The PR's have created a test folder, but I had written scripts to expect tests folder. Its easy to change or just accept both, but I wonder if we should settle on a single convention. Total bikeshed topic, so I'll just pick one. - PR's for new tests seem to be well isolated from each other (unlike mobilespec). Aka you can run FileTransfer tests without File tests. Good job! -Michal On Wed, Jul 16, 2014 at 5:02 PM, Michal Mocny mmo...@chromium.org wrote: Sure, I was actually already planning to take a look this week. I was working on mobile-spec today and have *also* ported device tests :P I should have looked at the PR's first! Will start these tomorrow. The plan for mobile spec was just to have a transition path, by adding a link to the old mobile-spec app to open the new-style-tests harness. Then, as we move tests from mobile-spec to new-style, we should remove the old tests from mobile-spec. Doing it this way means cordova committers have a single place to run all tests, and when mobile-spec is 100% completely deprecated, then we can just switch the start page with no change to committers. Thanks for your work here! -Michal On Wed, Jul 16, 2014 at 4:38 PM, Staci Cooper staci@gmail.com wrote: Hi all, Several of us at IBM have been working on porting tests from mobile-spec to the plugin-test-framework. I believe we have pull requests out for all of the automated tests; we also have the manual tests ported and are just wrapping up testing on ios/android, so those additional pull requests should be out by tomorrow evening. Can we get these reviewed soon to avoid getting out of sync with mobile spec? Michal, if you have time to take a look that would be fantastic; we can also get some of the IBM committers to help if needed. Related note: I see that Michal added the new style tests to mobile-spec, but is the plan for plugin-test-framework to be supplementary to mobile-spec tests? It seems there would be problems keeping them in sync. If it hasn't already been suggested, I propose removing mobile-spec tests as the ported tests get merged in. The mobile-spec project would eventually become a shell project with all tests run through plugin-test-framework and installed plugins. Thanks, Staci Cooper
Quick File plugin test on Android 2.3 needed
It would be great if someone with a Gingerbread device could run the cdvtests for my pull request. [1] On BB10 Blobs are BlobConstructor objects. With the previous check, the test failed as unsupported even though it does pass when allowed to run [2] I'd feel better knowing this still works correctly on 2.3 before I submit it. Thanks! [1] https://github.com/apache/cordova-plugin-file/pull/63 [2] https://github.com/blackberry-webworks/cordova-plugin-file/commit/ea83ae259219919d9db2ba3006319bbd6e387126
[GitHub] cordova-plugin-contacts pull request: CB-7148 Ported contacts test...
GitHub user stacic opened a pull request: https://github.com/apache/cordova-plugin-contacts/pull/33 CB-7148 Ported contacts tests to plugin-test-framework Removed js-module from plugin.xml and added manual tests. Can someone please merge this into cdvtest and then merge cdvtest into master? You can merge this pull request into a Git repository by running: $ git pull https://github.com/stacic/cordova-plugin-contacts CB-7148 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-contacts/pull/33.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #33 commit 0599cb639a28bd66d47e0025e1a9e549518f9ebe Author: Staci Cooper smcoo...@us.ibm.com Date: 2014-07-18T18:44:35Z Removed js-module for tests from plugin.xml commit 5a6d05314a45964e22e86b2d8872a0d8c062a216 Author: Staci Cooper smcoo...@us.ibm.com Date: 2014-07-18T18:48:52Z CB-7148 Added manual tests --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
plugin-test-framework PRs
Hi all, Several of us at IBM have been working on porting tests from mobile-spec to the plugin-test-framework. I believe we have pull requests out for all of the automated tests; we also have the manual tests ported and are just wrapping up testing on ios/android, so those additional pull requests should be out by tomorrow evening. Can we get these reviewed soon to avoid getting out of sync with mobile spec? Michal, if you have time to take a look that would be fantastic; we can also get some of the IBM committers to help if needed. Related note: I see that Michal added the new style tests to mobile-spec, but is the plan for plugin-test-framework to be supplementary to mobile-spec tests? It seems there would be problems keeping them in sync. If it hasn't already been suggested, I propose removing mobile-spec tests as the ported tests get merged in. The mobile-spec project would eventually become a shell project with all tests run through plugin-test-framework and installed plugins. Thanks, Staci Cooper
Re: plugin-test-framework PRs
Sure, I was actually already planning to take a look this week. I was working on mobile-spec today and have *also* ported device tests :P I should have looked at the PR's first! Will start these tomorrow. The plan for mobile spec was just to have a transition path, by adding a link to the old mobile-spec app to open the new-style-tests harness. Then, as we move tests from mobile-spec to new-style, we should remove the old tests from mobile-spec. Doing it this way means cordova committers have a single place to run all tests, and when mobile-spec is 100% completely deprecated, then we can just switch the start page with no change to committers. Thanks for your work here! -Michal On Wed, Jul 16, 2014 at 4:38 PM, Staci Cooper staci@gmail.com wrote: Hi all, Several of us at IBM have been working on porting tests from mobile-spec to the plugin-test-framework. I believe we have pull requests out for all of the automated tests; we also have the manual tests ported and are just wrapping up testing on ios/android, so those additional pull requests should be out by tomorrow evening. Can we get these reviewed soon to avoid getting out of sync with mobile spec? Michal, if you have time to take a look that would be fantastic; we can also get some of the IBM committers to help if needed. Related note: I see that Michal added the new style tests to mobile-spec, but is the plan for plugin-test-framework to be supplementary to mobile-spec tests? It seems there would be problems keeping them in sync. If it hasn't already been suggested, I propose removing mobile-spec tests as the ported tests get merged in. The mobile-spec project would eventually become a shell project with all tests run through plugin-test-framework and installed plugins. Thanks, Staci Cooper
[GitHub] cordova-mobile-spec pull request: CB-6928: Add 304 response test
Github user asfgit closed the pull request at: https://github.com/apache/cordova-mobile-spec/pull/71 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-mobile-spec pull request: Fix CB-7115: Add manual test for...
GitHub user schettino72 opened a pull request: https://github.com/apache/cordova-mobile-spec/pull/80 Fix CB-7115: Add manual test for events volumedownbutton / volumeupbutto... ...n You can merge this pull request into a Git repository by running: $ git pull https://github.com/schettino72/cordova-mobile-spec volumebutton Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-mobile-spec/pull/80.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #80 commit cac5ea70b660b711b6f31ab034f82315cca33f90 Author: schettino72 schettin...@gmail.com Date: 2014-07-10T07:56:54Z Fix CB-7115: Add manual test for events volumedownbutton / volumeupbutton --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: plugin test framework
Great!! 2014-07-08 10:55 GMT-05:00 Michal Mocny mmo...@chromium.org: FYI filed ticket with INFRA to create cordova-plugin-test-framework: https://issues.apache.org/jira/browse/INFRA-8017 On Tue, Jun 24, 2014 at 8:22 PM, Andrew Grieve agri...@chromium.org wrote: On Tue, Jun 24, 2014 at 6:52 PM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: We've been discussing here in IBM, about add a flag to the CLI to pull the tests from the plugin, add them to each platform, prepare, build and deploy. It would be something like 'cordova run/emulate [platform] --tests' The workflow has been discussed and I think that are great ideas. Proposal: - 'cordova plugin add' it would remain as is. -Add the tests to the master branch, and those would be added to the project. -The plugin framework may be installed manually or can be part of the 'cordova run/emulate --tests' workflow. Workflow: - 'cordova prepare' has to change, only if the --tests flag is present it would copy the test files. - 'cordova build' it would save a copy of config.xml or modify the file to replace the content tag: 'content src=index.html /' by content src=cdvtests/index.html /, as well as modify plugin.xml of each installed plugin to add this tag: 'js-module src=test/tests.js name=tests/js-module' Options with this one: create a backup of config.xml, modify the file adding/replacing the information, save the previous values from the files or restore the default config.xml content tag to index.html, it might be possible however, not always index.html is the default file in a project. This behavior it would work only in a temporal way, the idea is not corrupt the project at all, meaning that this workflow it will be followed if the --tests flag is present in the CLI, it would prepare, build, deploy/emulate and at the end it should restore to the previous configuration, meaning that config.xml should be restored, as well as each plugin.xml file of each installed plugin. In order to work on this, decisions are required. We have to define how it's gonna be: -The tests on each plugin, where are going to live? on master or cdvtest (This branch it may became outdated as Jesse mentioned), I can't find any reason to not add them to master. Definitely. cdvtest was never meant to be more than temporary. -Backup the plugin.xml and config.xml and then restore them or modify them and undo the modifications after run/emulate the app? any thoughts? We can add logic to the tools to do what you want, but we should *not* be modifying any files on disk to accomplish it. Config.xml is easy to modify in a one-off since it's a generated file within platforms/ and is generated on each prepare. Test files are not though, and to have them not stick around after the --test run would be pretty tricky to implement robustly. I think the pitched idea where each plugin repo has a second plugin within it that contains the tests would be more robust and easier to reason about. E.g. if you want to add a --test flag to CLI, then have the logic be: for each installed plugin ID, install $PLUGIN_ID.test (or something along those lines) Really, as long as the createmobilespec.js knows to install the test plugins, I think that would be fine. -The flag should work to prepare the project only? and then allow to the user/dev to run or emulate or both, emulator/device? -'cordova run/emulate --tests cdvtests/index.html' or 'cordova run/emulate --tests' ? there is any other useful arguments to improve the workflow? -plugin-test-framework, installed manually or automatically? Also Andrew points are good, improve it to make tests fast, avoid timers, identify if its running on the simulator/emulator or not. Any input, ideas, suggestions about this, it would be great. 2014-06-21 10:22 GMT-05:00 Andrew Grieve agri...@chromium.org: Just occurred to me it might be a good idea to point out what's not-so-great about our current auto-tests since you guys will be looking to refactor them quite a bit. Big things that've come to bug me: - Tests should fail fast instead of timing out when failure callbacks are called. FileTransfer is one case where tests generally fail fast rather than timeout. All this entails is making fail callbacks call the done() callback. - Tests have a lot of copy paste. Some is okay, but helper functions would go a *long* way for some tests - Tests that don't work on the simulator often time out. Would be better if they were skipped when simulator is detected. Thanks again for taking this on, and feel free not to address anything I've said. Just wanted to point it out as something that you don't need to go out of your way to keep the same
npm test jasmine reporter issue
Hi guys, just want to let you know that after recent update of one of our test dependencies [1] you can see the following error when running 'npm test' (if you did 'npm update' or installed everything from scratch) jasmineNode.TeamcityReporter.prototype = new jasmine.TeamcityReporter; This is not related to our code; here is open issue[2] and possible workaround[3] [1] https://www.npmjs.org/package/jasmine-reporters [2] https://github.com/larrymyers/jasmine-reporters/issues/63 [3] http://stackoverflow.com/a/24555340/255654 -Sergey
Re: npm test jasmine reporter issue
For cordova-cli I've temporarily pinned jasmine at an older version https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=2f9228d581ba9469ea10eead194089c3c377b89c until this bug is fixed. cordova-lib seems to use the global version of jasmine, so if you see the error, install the older version with -g npm install -g jasmine-node@1.14.1 On Thu, Jul 3, 2014 at 10:09 AM, Sergey Grebnov (Akvelon) v-seg...@microsoft.com wrote: Hi guys, just want to let you know that after recent update of one of our test dependencies [1] you can see the following error when running 'npm test' (if you did 'npm update' or installed everything from scratch) jasmineNode.TeamcityReporter.prototype = new jasmine.TeamcityReporter; This is not related to our code; here is open issue[2] and possible workaround[3] [1] https://www.npmjs.org/package/jasmine-reporters [2] https://github.com/larrymyers/jasmine-reporters/issues/63 [3] http://stackoverflow.com/a/24555340/255654 -Sergey
[GitHub] cordova-lib pull request: CB-7056 serve: fix Android test, make te...
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-lib/pull/50 CB-7056 serve: fix Android test, make tests conditional Fix **Android** merges codepath, as it turns out that merges doesn't need the platform specific hack. Adding **BlackBerry 10** test. **Android**, **iOS** and **BlackBerry 10** require specific scripts to be available, otherwise they fail. Introduce `itifapps` and `cit` (conditional `it`) based on **Jasmine**'s: * `xit` -- ignore test * `iit` -- run these tests, but skip it tests * `it` -- run these tests, unless there are iit tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-lib cb_7056 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/50.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #50 commit fe873fd12b87ebc52866bb1f494ffdaa31a278b7 Author: Josh Soref jso...@blackberry.com Date: 2014-07-02T16:54:10Z CB-7056 serve: fix Android test, make tests conditional Fix **Android** merges codepath, as it turns out that merges doesn't need the platform specific hack. Adding **BlackBerry 10** test. **Android**, **iOS** and **BlackBerry 10** require specific scripts to be available, otherwise they fail. Introduce `itifapps` and `cit` (conditional `it`) based on **Jasmine**'s: * `xit` -- ignore test * `iit` -- run these tests, but skip it tests * `it` -- run these tests, unless there are iit tests --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-lib pull request: CB-7056 serve: fix Android test, make te...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/50 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-camera pull request: CB- 6958. Port camera test to ...
Github user agrieve commented on a diff in the pull request: https://github.com/apache/cordova-plugin-camera/pull/34#discussion_r14300639 --- Diff: plugin.xml --- @@ -33,6 +33,9 @@ js-module src=www/CameraConstants.js name=Camera clobbers target=Camera / /js-module + + js-module src=test/tests.js name=tests --- End diff -- As discussed on ML, the cdvtest branches should be deleted and tests to be done on master. Going to close out this PR, but please make a new one with test on master. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-camera pull request: CB- 6958. Port camera test to ...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-camera/pull/34 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-network-information pull request: Port network test...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-network-information/pull/11 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-lib pull request: enable basic serve test
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-lib/pull/45 enable basic serve test You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-lib cb_7042 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/45.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #45 commit e24bfb646fcfdccf6e8de632dafd1bcb05be9bf5 Author: Josh Soref jso...@blackberry.com Date: 2014-06-27T19:29:46Z CB-7042 serve.spec: enable basic serve test commit 306d4e5d834fc504353c9c95cca9a3211f53125e Author: Josh Soref jso...@blackberry.com Date: 2014-06-27T19:30:20Z CB-7042 serve.spec: really expect not a Cordova-based project exception --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-lib pull request: enable basic serve test
Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/45 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
nodejitsu instance failing; can't test file-transfer
I'm seeing 502 responses from cordova-filetransfer.jitsu.com, the instance that we use for testing file-transfer, so I can't properly test a couple of pull requests. Who manages that machine, and can they see what's up with it? (The error I see if I navigate there in a browser is Reached max retries limit; it doesn't sounds like a quota issue; could be a misconfiguration though) Ian
Re: nodejitsu instance failing; can't test file-transfer
Just sent you the creds through private email. On Friday, June 27, 2014, Ian Clelland iclell...@chromium.org wrote: I'm seeing 502 responses from cordova-filetransfer.jitsu.com, the instance that we use for testing file-transfer, so I can't properly test a couple of pull requests. Who manages that machine, and can they see what's up with it? (The error I see if I navigate there in a browser is Reached max retries limit; it doesn't sounds like a quota issue; could be a misconfiguration though) Ian
Re: nodejitsu instance failing; can't test file-transfer
Thanks, I'll take a look On Fri, Jun 27, 2014 at 10:49 PM, Shazron shaz...@gmail.com wrote: Just sent you the creds through private email. On Friday, June 27, 2014, Ian Clelland iclell...@chromium.org wrote: I'm seeing 502 responses from cordova-filetransfer.jitsu.com, the instance that we use for testing file-transfer, so I can't properly test a couple of pull requests. Who manages that machine, and can they see what's up with it? (The error I see if I navigate there in a browser is Reached max retries limit; it doesn't sounds like a quota issue; could be a misconfiguration though) Ian
Re: nodejitsu instance failing; can't test file-transfer
The app needed a full stop/start cycle (simple restart didn't do it), but it seems to be behaving better now. Thanks, Shaz. On Fri, Jun 27, 2014 at 10:52 PM, Ian Clelland iclell...@chromium.org wrote: Thanks, I'll take a look On Fri, Jun 27, 2014 at 10:49 PM, Shazron shaz...@gmail.com wrote: Just sent you the creds through private email. On Friday, June 27, 2014, Ian Clelland iclell...@chromium.org wrote: I'm seeing 502 responses from cordova-filetransfer.jitsu.com, the instance that we use for testing file-transfer, so I can't properly test a couple of pull requests. Who manages that machine, and can they see what's up with it? (The error I see if I navigate there in a browser is Reached max retries limit; it doesn't sounds like a quota issue; could be a misconfiguration though) Ian
[GitHub] cordova-blackberry pull request: CB-7036 make npm test work again ...
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-blackberry/pull/165 CB-7036 make npm test work again (using grunt instead of jake) Apparently there used to be support for `npm test`, it's been broken for a while because `cordova-blackberry` switched from `jake` to `grunt`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/blackberry/cordova-blackberry grunt-cli Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-blackberry/pull/165.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #165 commit f6d11fc1cc7ed398cd1c8bd740f1bfcfb956573a Author: Josh Soref jso...@blackberry.com Date: 2014-06-26T19:13:09Z CB-7036 make npm test work again (using grunt instead of jake) Apparently there used to be support for `npm test`, it's been broken for a while because `cordova-blackberry` switched from `jake` to `grunt`. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-blackberry pull request: CB-7036 make npm test work again ...
Github user dylin commented on the pull request: https://github.com/apache/cordova-blackberry/pull/165#issuecomment-47268188 r+ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-blackberry pull request: CB-7036 make npm test work again ...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-blackberry/pull/165 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: plugin test framework
We've been discussing here in IBM, about add a flag to the CLI to pull the tests from the plugin, add them to each platform, prepare, build and deploy. It would be something like 'cordova run/emulate [platform] --tests' The workflow has been discussed and I think that are great ideas. Proposal: - 'cordova plugin add' it would remain as is. -Add the tests to the master branch, and those would be added to the project. -The plugin framework may be installed manually or can be part of the 'cordova run/emulate --tests' workflow. Workflow: - 'cordova prepare' has to change, only if the --tests flag is present it would copy the test files. - 'cordova build' it would save a copy of config.xml or modify the file to replace the content tag: 'content src=index.html /' by content src=cdvtests/index.html /, as well as modify plugin.xml of each installed plugin to add this tag: 'js-module src=test/tests.js name=tests/js-module' Options with this one: create a backup of config.xml, modify the file adding/replacing the information, save the previous values from the files or restore the default config.xml content tag to index.html, it might be possible however, not always index.html is the default file in a project. This behavior it would work only in a temporal way, the idea is not corrupt the project at all, meaning that this workflow it will be followed if the --tests flag is present in the CLI, it would prepare, build, deploy/emulate and at the end it should restore to the previous configuration, meaning that config.xml should be restored, as well as each plugin.xml file of each installed plugin. In order to work on this, decisions are required. We have to define how it's gonna be: -The tests on each plugin, where are going to live? on master or cdvtest (This branch it may became outdated as Jesse mentioned), I can't find any reason to not add them to master. -Backup the plugin.xml and config.xml and then restore them or modify them and undo the modifications after run/emulate the app? any thoughts? -The flag should work to prepare the project only? and then allow to the user/dev to run or emulate or both, emulator/device? -'cordova run/emulate --tests cdvtests/index.html' or 'cordova run/emulate --tests' ? there is any other useful arguments to improve the workflow? -plugin-test-framework, installed manually or automatically? Also Andrew points are good, improve it to make tests fast, avoid timers, identify if its running on the simulator/emulator or not. Any input, ideas, suggestions about this, it would be great. 2014-06-21 10:22 GMT-05:00 Andrew Grieve agri...@chromium.org: Just occurred to me it might be a good idea to point out what's not-so-great about our current auto-tests since you guys will be looking to refactor them quite a bit. Big things that've come to bug me: - Tests should fail fast instead of timing out when failure callbacks are called. FileTransfer is one case where tests generally fail fast rather than timeout. All this entails is making fail callbacks call the done() callback. - Tests have a lot of copy paste. Some is okay, but helper functions would go a *long* way for some tests - Tests that don't work on the simulator often time out. Would be better if they were skipped when simulator is detected. Thanks again for taking this on, and feel free not to address anything I've said. Just wanted to point it out as something that you don't need to go out of your way to keep the same. :) On Fri, Jun 20, 2014 at 12:40 AM, Piotr Zalewa pzal...@mozilla.com wrote: testing is good, no need to hide it, it would be good though to not copy it with the rendered app Dnia Thu Jun 19 19:11:25 2014 purplecabbage pisze: I think we just lead by example. Sent from my iPhone On Jun 19, 2014, at 6:18 PM, Michal Mocny mmo...@chromium.org wrote: +1 I agree, this would be awesome. New question, should this merely be the standard we adhere to for core plugins, or should we actively make it difficult for plugin devs to not ship tests directly with plugins? (Not sure how we could accomplish that, so I hope its just a convention that applies to our work). -Michal On Thu, Jun 19, 2014 at 7:48 PM, Jesse purplecabb...@gmail.com wrote: My ultimate would be this: cordova create TestFilePlugin cd TestFilePlugin cordova platform add android cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-labs.git# cdvtest:cordova-plugin-test-framework cordova plugin add ../cordova-plugin-file/ cordova plugin add ../cordova-plugin-file/test/ cordova run android --start cdvtests/index.html Then do this for each plugin, and for each platform Then do this for all combinations of plugins ... Note the run --start does not yet exist, but this would be awesome! @purplecabbage risingj.com On Thu, Jun 19, 2014 at 4:15 PM, Jesse purplecabb...@gmail.com wrote: Option a) was what I suggested a ways back
Re: plugin test framework
On Tue, Jun 24, 2014 at 6:52 PM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: We've been discussing here in IBM, about add a flag to the CLI to pull the tests from the plugin, add them to each platform, prepare, build and deploy. It would be something like 'cordova run/emulate [platform] --tests' The workflow has been discussed and I think that are great ideas. Proposal: - 'cordova plugin add' it would remain as is. -Add the tests to the master branch, and those would be added to the project. -The plugin framework may be installed manually or can be part of the 'cordova run/emulate --tests' workflow. Workflow: - 'cordova prepare' has to change, only if the --tests flag is present it would copy the test files. - 'cordova build' it would save a copy of config.xml or modify the file to replace the content tag: 'content src=index.html /' by content src=cdvtests/index.html /, as well as modify plugin.xml of each installed plugin to add this tag: 'js-module src=test/tests.js name=tests/js-module' Options with this one: create a backup of config.xml, modify the file adding/replacing the information, save the previous values from the files or restore the default config.xml content tag to index.html, it might be possible however, not always index.html is the default file in a project. This behavior it would work only in a temporal way, the idea is not corrupt the project at all, meaning that this workflow it will be followed if the --tests flag is present in the CLI, it would prepare, build, deploy/emulate and at the end it should restore to the previous configuration, meaning that config.xml should be restored, as well as each plugin.xml file of each installed plugin. In order to work on this, decisions are required. We have to define how it's gonna be: -The tests on each plugin, where are going to live? on master or cdvtest (This branch it may became outdated as Jesse mentioned), I can't find any reason to not add them to master. Definitely. cdvtest was never meant to be more than temporary. -Backup the plugin.xml and config.xml and then restore them or modify them and undo the modifications after run/emulate the app? any thoughts? We can add logic to the tools to do what you want, but we should *not* be modifying any files on disk to accomplish it. Config.xml is easy to modify in a one-off since it's a generated file within platforms/ and is generated on each prepare. Test files are not though, and to have them not stick around after the --test run would be pretty tricky to implement robustly. I think the pitched idea where each plugin repo has a second plugin within it that contains the tests would be more robust and easier to reason about. E.g. if you want to add a --test flag to CLI, then have the logic be: for each installed plugin ID, install $PLUGIN_ID.test (or something along those lines) Really, as long as the createmobilespec.js knows to install the test plugins, I think that would be fine. -The flag should work to prepare the project only? and then allow to the user/dev to run or emulate or both, emulator/device? -'cordova run/emulate --tests cdvtests/index.html' or 'cordova run/emulate --tests' ? there is any other useful arguments to improve the workflow? -plugin-test-framework, installed manually or automatically? Also Andrew points are good, improve it to make tests fast, avoid timers, identify if its running on the simulator/emulator or not. Any input, ideas, suggestions about this, it would be great. 2014-06-21 10:22 GMT-05:00 Andrew Grieve agri...@chromium.org: Just occurred to me it might be a good idea to point out what's not-so-great about our current auto-tests since you guys will be looking to refactor them quite a bit. Big things that've come to bug me: - Tests should fail fast instead of timing out when failure callbacks are called. FileTransfer is one case where tests generally fail fast rather than timeout. All this entails is making fail callbacks call the done() callback. - Tests have a lot of copy paste. Some is okay, but helper functions would go a *long* way for some tests - Tests that don't work on the simulator often time out. Would be better if they were skipped when simulator is detected. Thanks again for taking this on, and feel free not to address anything I've said. Just wanted to point it out as something that you don't need to go out of your way to keep the same. :) On Fri, Jun 20, 2014 at 12:40 AM, Piotr Zalewa pzal...@mozilla.com wrote: testing is good, no need to hide it, it would be good though to not copy it with the rendered app Dnia Thu Jun 19 19:11:25 2014 purplecabbage pisze: I think we just lead by example. Sent from my iPhone On Jun 19, 2014, at 6:18 PM, Michal Mocny mmo...@chromium.org wrote: +1 I agree, this would be awesome. New question, should this merely be the standard we adhere to for core
[GitHub] cordova-plugin-network-information pull request: Port network test...
GitHub user javierbb31 opened a pull request: https://github.com/apache/cordova-plugin-network-information/pull/11 Port network tests to plugin-test-framework Ported test from mobile-spec (which are written in jasmine 1.3) in jasmine 2.0. Added: New js-module named tests to plugin.xml Folder with tests working on jasmine 2.0 You can merge this pull request into a Git repository by running: $ git pull https://github.com/javierbb31/cordova-plugin-network-information CB-6964 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-network-information/pull/11.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #11 commit 263e3bf21e2f39baa1675e5d1f110de3384db197 Author: javierbb31 javier.becerra@gmail.com Date: 2014-06-20T21:59:32Z Port network tests to plugin-test-framework Ported test from mobile-spec (which are written in jasmine 1.3) in jasmine 2.0. Added: New js-module named tests to plugin.xml Folder with tests working on jasmine 2.0 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-camera pull request: CB- 6958. Port camera test to ...
Github user javierbb31 commented on a diff in the pull request: https://github.com/apache/cordova-plugin-camera/pull/34#discussion_r14040361 --- Diff: plugin.xml --- @@ -202,6 +205,7 @@ !-- windows8 -- platform name=windows8 +dependency id=org.apache.cordova.file / --- End diff -- I already removed this dependency. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-camera pull request: CB- 6958. Port camera test to ...
GitHub user javierbb31 opened a pull request: https://github.com/apache/cordova-plugin-camera/pull/34 CB- 6958. Port camera test to plugin-test-framework Ported tests from mobile-spec (which are written in jasmine 1.3) in jasmine 2.0. Added: New js-module named tests to plugin.xml Folder with tests working on jasmine 2.0 This changes are aimed to work with the new plugin-test framework. You can merge this pull request into a Git repository by running: $ git pull https://github.com/javierbb31/cordova-plugin-camera CB-6958 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-camera/pull/34.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #34 commit afd392f0f92b58bd2b89e374cb02fda998fd7dde Author: javierbb31 javier.becerra@gmail.com Date: 2014-06-19T16:29:33Z CB- 6958. Port camera test to plugin-test-framework Ported tests from mobile-spec (which are written in jasmine 1.3) in jasmine 2.0. Added: New js-module named tests to plugin.xml Folder with tests working on jasmine 2.0 This changes are aimed to work with the new plugin-test framework. commit 279b8812d6d75d79f8e851262464c43846a01770 Author: javierbb31 javier.becerra@gmail.com Date: 2014-06-19T16:52:50Z Replaced tabs by spaces --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-camera pull request: CB- 6958. Port camera test to ...
Github user purplecabbage commented on a diff in the pull request: https://github.com/apache/cordova-plugin-camera/pull/34#discussion_r13982226 --- Diff: plugin.xml --- @@ -33,6 +33,9 @@ js-module src=www/CameraConstants.js name=Camera clobbers target=Camera / /js-module + + js-module src=test/tests.js name=tests --- End diff -- Doesn't this mean that the tests are going to be added to every project that uses this plugin? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-camera pull request: CB- 6958. Port camera test to ...
Github user purplecabbage commented on a diff in the pull request: https://github.com/apache/cordova-plugin-camera/pull/34#discussion_r13982279 --- Diff: plugin.xml --- @@ -202,6 +205,7 @@ !-- windows8 -- platform name=windows8 +dependency id=org.apache.cordova.file / --- End diff -- Is this a mistake? We just removed this dependency ... 06ecc91fd1430bf3261990315e7e6361a6bc5cad --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-camera pull request: CB- 6958. Port camera test to ...
Github user javierbb31 commented on a diff in the pull request: https://github.com/apache/cordova-plugin-camera/pull/34#discussion_r13983869 --- Diff: plugin.xml --- @@ -202,6 +205,7 @@ !-- windows8 -- platform name=windows8 +dependency id=org.apache.cordova.file / --- End diff -- Yes, this is a mistake, I started to work on that 3 days ago. I will fix it. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-plugin-camera pull request: CB- 6958. Port camera test to ...
Github user javierbb31 commented on a diff in the pull request: https://github.com/apache/cordova-plugin-camera/pull/34#discussion_r13984170 --- Diff: plugin.xml --- @@ -33,6 +33,9 @@ js-module src=www/CameraConstants.js name=Camera clobbers target=Camera / /js-module + + js-module src=test/tests.js name=tests --- End diff -- Yes, it means that the tests are going to be added on every project that uses this plugin, however, this PR it should have to be addressed to another branch(cdvtest, as it is for the plugin-device, which already has the tests for the plugin-test framework. https://github.com/apache/cordova-plugin-device/tree/cdvtest Are you able to create the branch cdvtest for this repository? Is there any way to correctly address this PR to that branch once created? Thanks for the feedback. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: plugin test framework
Sorry I missed providing feedback on this earlier ... Having a deeper look at this, I am not feeling great about the extra requirement that every plugin have an additional branch. Several concerns arise : - test branch can be out of sync with master - how do we test a specific version? - tests are not immediately visible when looking at master - differing versions of plugin.xml depending on the branch The majority of the work has been done (thanks Michal!), and mostly any suggestions I make will just require moving code and changing a few conventions. What if we? : 1. add a plugin-test.xml file which has the exact format of plugin.xml 2. keep tests/ and plugin-test.xml file in master branch 3. have plugman/cli support an additional flag --test so we can install like this: cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git --test This would mean that in addition to processing the plugin.xml of the plugin, we would also process the plugin-test.xml file ( identical processing logic ) 4. have all plugin-test.xml files declare a dependency on cordova-plugin-test-framework The above suggestions could also be used in conjuction with the cordova run --tests platform mentioned by Michal, but without the need to manage the switching of branches. @purplecabbage risingj.com On Tue, Jun 17, 2014 at 2:16 PM, Michal Mocny mmo...@chromium.org wrote: Piotr: Actually I'm not sure how running tests in the harness would work, since the path to the resource may be different. However, in general, with development using the harness you aren't making any changes to plugins. The whole point is for app developers who want to modify only web application bits and not deal with native compiles. In theory the app harness could support working on the js-modules of plugins, but that sounds like a really niche idea. I'd not be opposed to someone working on it but I'm not sure you'll have luck finding volunteers. -Michal On Tue, Jun 17, 2014 at 5:13 PM, Michal Mocny mmo...@chromium.org wrote: At the time I went through my design iterations I just didn't want to necessarily depend on cordova tooling changes / documentation. In other words, someone else may have a different strategy for testing.. My personal opinion would be have the test plugin ship with a plugin hook (those are in, right? or at least on their way), that will automatically update the start page if you pass a flag to run command. Ie, in an ideal world: `cordova run --tests` runs a plugin hook passing in --tests flag which changes the start page, in a way that isn't overwritten by the top-level config.xml. My 2 cents, since I don't want our way of testing mobile spec to be the only way to test. Frameworks and opinions on testing change. -Michal On Tue, Jun 17, 2014 at 4:33 PM, Piotr Zalewa pzal...@mozilla.com wrote: One thing more - it would be great if user could create a test using test harness app as well. Is it also considered? Dnia Tue Jun 17 13:27:22 2014 Martin Gonzalez pisze: It would be a nice to have in the cli, aimed to just setup the right path in the config.xml, maybe along with an another argument to build, run/emulate as well. It sounds great. 2014-06-17 15:21 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: Thanks Martin, Has it been considered to create a separate command testrun or similar which would remove the need to edit the config.xml? Dnia Tue Jun 17 11:58:33 2014 Michal Mocny pisze: Martin, thanks for posting those links. And I'll look into the INFRA tickets I need to file to set up a repo for that plugin, since its ready to come out of labs. On Tue, Jun 17, 2014 at 2:06 PM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: This is the Cordova Plugin Test Framework readme.md, you can catch up with the functionality by reading some of the content: Repository: https://github.com/apache/cordova-labs Docs: https://github.com/apache/cordova-labs/blob/master/README.md https://github.com/apache/cordova-labs/blob/cdvtest/ cordova-plugin-test-framework/README.md 2014-06-17 12:56 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: a documentation explaining how it's gonna work Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re
[GitHub] cordova-plugin-camera pull request: CB- 6958. Port camera test to ...
Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-plugin-camera/pull/34#issuecomment-46609974 I've started a conversation on this, before we go and create `test` branches for all ~20ish plugins. http://markmail.org/message/576yxsj6xvg6rycw --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: plugin test framework
Jesee, the branch is NOT a requirement (I don't think I documented it as such, except in the examples for installing plugins for initial look). Actually, we should delete those stale branches now that we are moving up-to-date tests into master. It was just for early experimentation on the feature. Jesse, I'm not seeing the benefit of using plugins-tests.xml or the dependency on the test plugin yet, may you elaborate your thoughts? My hope was that tests are just always installed alongside plugins. If that is not a good idea for some particular plugin, say because it uses huge assets, I elaborated my answer in the plugin FAQ ( https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md#faq ): FAQ - Q: Should I add org.apache.cordova.test-harness as a dependancy of my plugin? - A: No. The end-user should decide if they want to install the test harness, not your plugin (most users won't). - Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your tests fail gracefully if those assets don't don't exist (perhaps log a warning, perhaps fail a single asset-checking test, and skip the rest). Then, ideally download those assets automatically into local storage the first time tests run. Or create a manual test step to download and install assets. As a final alternative, split those test assets into a separate plugin, and instruct users to install that plugin to run your full test suite. - Q: Should I ship my app with the test harness plugin installed? - A: Not likely. If you want, you can. Then your app could even embed a link to the test page (cdvtests/index.html) from a help section of your app, to give end users a way to run your test suite out in the feild. That may help diagnose causes of issues within your app. Maybe. = Feel free the debate those answers -- now is certainly the time -- but I put a lot of effort to make it super flexible and to not require depending on changes to CLI :P -Michal On Thu, Jun 19, 2014 at 3:11 PM, Jesse purplecabb...@gmail.com wrote: Sorry I missed providing feedback on this earlier ... Having a deeper look at this, I am not feeling great about the extra requirement that every plugin have an additional branch. Several concerns arise : - test branch can be out of sync with master - how do we test a specific version? - tests are not immediately visible when looking at master - differing versions of plugin.xml depending on the branch The majority of the work has been done (thanks Michal!), and mostly any suggestions I make will just require moving code and changing a few conventions. What if we? : 1. add a plugin-test.xml file which has the exact format of plugin.xml 2. keep tests/ and plugin-test.xml file in master branch 3. have plugman/cli support an additional flag --test so we can install like this: cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git --test This would mean that in addition to processing the plugin.xml of the plugin, we would also process the plugin-test.xml file ( identical processing logic ) 4. have all plugin-test.xml files declare a dependency on cordova-plugin-test-framework The above suggestions could also be used in conjuction with the cordova run --tests platform mentioned by Michal, but without the need to manage the switching of branches. @purplecabbage risingj.com On Tue, Jun 17, 2014 at 2:16 PM, Michal Mocny mmo...@chromium.org wrote: Piotr: Actually I'm not sure how running tests in the harness would work, since the path to the resource may be different. However, in general, with development using the harness you aren't making any changes to plugins. The whole point is for app developers who want to modify only web application bits and not deal with native compiles. In theory the app harness could support working on the js-modules of plugins, but that sounds like a really niche idea. I'd not be opposed to someone working on it but I'm not sure you'll have luck finding volunteers. -Michal On Tue, Jun 17, 2014 at 5:13 PM, Michal Mocny mmo...@chromium.org wrote: At the time I went through my design iterations I just didn't want to necessarily depend on cordova tooling changes / documentation. In other words, someone else may have a different strategy for testing.. My personal opinion would be have the test plugin ship with a plugin hook (those are in, right? or at least on their way), that will automatically update the start page if you pass a flag to run command. Ie, in an ideal world: `cordova run --tests` runs a plugin hook passing in --tests flag which changes the start page, in a way that isn't overwritten by the top-level config.xml. My 2 cents, since I don't want our
Re: plugin test framework
re: Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your ... My concern is I do not want to see tests added to every project that uses a plugin, even if the assets are not large, there are implications to including the test framework + all the tests because they get loaded and processed with all of the plugins and will impact load time even if never run. 99.9% of the time the plugin tests will be used by us the plugin developers, and not the people who use the plugin in there apps. I agree, having the tester install the test harness plugin dependency themselves is probably a better option, as I see you have wrapped all tests inside a exports.defineAutoTests so we don't have to worry about describe/it/expects not being defined. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 1:27 PM, Michal Mocny mmo...@chromium.org wrote: Jesee, the branch is NOT a requirement (I don't think I documented it as such, except in the examples for installing plugins for initial look). Actually, we should delete those stale branches now that we are moving up-to-date tests into master. It was just for early experimentation on the feature. Jesse, I'm not seeing the benefit of using plugins-tests.xml or the dependency on the test plugin yet, may you elaborate your thoughts? My hope was that tests are just always installed alongside plugins. If that is not a good idea for some particular plugin, say because it uses huge assets, I elaborated my answer in the plugin FAQ ( https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md#faq ): FAQ - Q: Should I add org.apache.cordova.test-harness as a dependancy of my plugin? - A: No. The end-user should decide if they want to install the test harness, not your plugin (most users won't). - Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your tests fail gracefully if those assets don't don't exist (perhaps log a warning, perhaps fail a single asset-checking test, and skip the rest). Then, ideally download those assets automatically into local storage the first time tests run. Or create a manual test step to download and install assets. As a final alternative, split those test assets into a separate plugin, and instruct users to install that plugin to run your full test suite. - Q: Should I ship my app with the test harness plugin installed? - A: Not likely. If you want, you can. Then your app could even embed a link to the test page (cdvtests/index.html) from a help section of your app, to give end users a way to run your test suite out in the feild. That may help diagnose causes of issues within your app. Maybe. = Feel free the debate those answers -- now is certainly the time -- but I put a lot of effort to make it super flexible and to not require depending on changes to CLI :P -Michal On Thu, Jun 19, 2014 at 3:11 PM, Jesse purplecabb...@gmail.com wrote: Sorry I missed providing feedback on this earlier ... Having a deeper look at this, I am not feeling great about the extra requirement that every plugin have an additional branch. Several concerns arise : - test branch can be out of sync with master - how do we test a specific version? - tests are not immediately visible when looking at master - differing versions of plugin.xml depending on the branch The majority of the work has been done (thanks Michal!), and mostly any suggestions I make will just require moving code and changing a few conventions. What if we? : 1. add a plugin-test.xml file which has the exact format of plugin.xml 2. keep tests/ and plugin-test.xml file in master branch 3. have plugman/cli support an additional flag --test so we can install like this: cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git --test This would mean that in addition to processing the plugin.xml of the plugin, we would also process the plugin-test.xml file ( identical processing logic ) 4. have all plugin-test.xml files declare a dependency on cordova-plugin-test-framework The above suggestions could also be used in conjuction with the cordova run --tests platform mentioned by Michal, but without the need to manage the switching of branches. @purplecabbage risingj.com On Tue, Jun 17, 2014 at 2:16 PM, Michal Mocny mmo...@chromium.org wrote: Piotr: Actually I'm not sure how running tests in the harness would work, since the path to the resource may be different. However, in general, with development using the harness you aren't making any changes to plugins. The whole point is for app developers who want to modify only web application
Re: plugin test framework
Andrew has raised that concern as well. My gut says that the bundling of a few shorts scripts that get parsed but not run as long as they don't get require() will not affect applications negatively (there are probably many more significant overheads we live with today in cordova) -- but I understand why that may not be useful default. In that case, some ideas: (I recall these were proposed previously but not sure by whom) (a) Bundle tests as a plugin-within-the-plugin as such: myplugin/ - plugin.xml - src/... - www/... - tests/ - plugin.xml - www/... Which basically means the plugin tests live in the same repo/branch, and are fetched as part of plugin add, but are not moved into platforms/ on cordova prepare by default, thus don't end up in your application (disk and network are cheap, application startup and size costs are not, right?). Then, to run tests, we basically need to iterate all plugins looking for a nested tests/plugin.xml, and install those. This can be added to CLI/Plugman, or just be a CLI hook even. (b) add a js-test-module or js-module type=test that is only used if you run prepare with --test. Similar to the above, but I think requires more CLI/config file changes, which I'm not a fan of. (c) Just ship tests as a second plugin in a second repo, and document how to install tests. Can then perhaps have a dependency type=tests. I don't like this as much since its basically back to mobile-spec. WDYT? -Michal On Thu, Jun 19, 2014 at 4:53 PM, Jesse purplecabb...@gmail.com wrote: re: Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your ... My concern is I do not want to see tests added to every project that uses a plugin, even if the assets are not large, there are implications to including the test framework + all the tests because they get loaded and processed with all of the plugins and will impact load time even if never run. 99.9% of the time the plugin tests will be used by us the plugin developers, and not the people who use the plugin in there apps. I agree, having the tester install the test harness plugin dependency themselves is probably a better option, as I see you have wrapped all tests inside a exports.defineAutoTests so we don't have to worry about describe/it/expects not being defined. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 1:27 PM, Michal Mocny mmo...@chromium.org wrote: Jesee, the branch is NOT a requirement (I don't think I documented it as such, except in the examples for installing plugins for initial look). Actually, we should delete those stale branches now that we are moving up-to-date tests into master. It was just for early experimentation on the feature. Jesse, I'm not seeing the benefit of using plugins-tests.xml or the dependency on the test plugin yet, may you elaborate your thoughts? My hope was that tests are just always installed alongside plugins. If that is not a good idea for some particular plugin, say because it uses huge assets, I elaborated my answer in the plugin FAQ ( https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md#faq ): FAQ - Q: Should I add org.apache.cordova.test-harness as a dependancy of my plugin? - A: No. The end-user should decide if they want to install the test harness, not your plugin (most users won't). - Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your tests fail gracefully if those assets don't don't exist (perhaps log a warning, perhaps fail a single asset-checking test, and skip the rest). Then, ideally download those assets automatically into local storage the first time tests run. Or create a manual test step to download and install assets. As a final alternative, split those test assets into a separate plugin, and instruct users to install that plugin to run your full test suite. - Q: Should I ship my app with the test harness plugin installed? - A: Not likely. If you want, you can. Then your app could even embed a link to the test page (cdvtests/index.html) from a help section of your app, to give end users a way to run your test suite out in the feild. That may help diagnose causes of issues within your app. Maybe. = Feel free the debate those answers -- now is certainly the time -- but I put a lot of effort to make it super flexible and to not require depending on changes to CLI :P -Michal On Thu, Jun 19, 2014 at 3:11 PM, Jesse purplecabb...@gmail.com wrote: Sorry I missed providing feedback on this earlier ... Having a deeper look at this, I am not feeling great about the extra
Re: plugin test framework
Option a) was what I suggested a ways back, and I still stand by it. I think it provides the greatest transparency, and simplicity, yet it is still very flexible. I don't think it would be hard to accomplish either. This is the small re-org I was hinting at, you've already done the hard part. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 3:45 PM, Michal Mocny mmo...@chromium.org wrote: Andrew has raised that concern as well. My gut says that the bundling of a few shorts scripts that get parsed but not run as long as they don't get require() will not affect applications negatively (there are probably many more significant overheads we live with today in cordova) -- but I understand why that may not be useful default. In that case, some ideas: (I recall these were proposed previously but not sure by whom) (a) Bundle tests as a plugin-within-the-plugin as such: myplugin/ - plugin.xml - src/... - www/... - tests/ - plugin.xml - www/... Which basically means the plugin tests live in the same repo/branch, and are fetched as part of plugin add, but are not moved into platforms/ on cordova prepare by default, thus don't end up in your application (disk and network are cheap, application startup and size costs are not, right?). Then, to run tests, we basically need to iterate all plugins looking for a nested tests/plugin.xml, and install those. This can be added to CLI/Plugman, or just be a CLI hook even. (b) add a js-test-module or js-module type=test that is only used if you run prepare with --test. Similar to the above, but I think requires more CLI/config file changes, which I'm not a fan of. (c) Just ship tests as a second plugin in a second repo, and document how to install tests. Can then perhaps have a dependency type=tests. I don't like this as much since its basically back to mobile-spec. WDYT? -Michal On Thu, Jun 19, 2014 at 4:53 PM, Jesse purplecabb...@gmail.com wrote: re: Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your ... My concern is I do not want to see tests added to every project that uses a plugin, even if the assets are not large, there are implications to including the test framework + all the tests because they get loaded and processed with all of the plugins and will impact load time even if never run. 99.9% of the time the plugin tests will be used by us the plugin developers, and not the people who use the plugin in there apps. I agree, having the tester install the test harness plugin dependency themselves is probably a better option, as I see you have wrapped all tests inside a exports.defineAutoTests so we don't have to worry about describe/it/expects not being defined. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 1:27 PM, Michal Mocny mmo...@chromium.org wrote: Jesee, the branch is NOT a requirement (I don't think I documented it as such, except in the examples for installing plugins for initial look). Actually, we should delete those stale branches now that we are moving up-to-date tests into master. It was just for early experimentation on the feature. Jesse, I'm not seeing the benefit of using plugins-tests.xml or the dependency on the test plugin yet, may you elaborate your thoughts? My hope was that tests are just always installed alongside plugins. If that is not a good idea for some particular plugin, say because it uses huge assets, I elaborated my answer in the plugin FAQ ( https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md#faq ): FAQ - Q: Should I add org.apache.cordova.test-harness as a dependancy of my plugin? - A: No. The end-user should decide if they want to install the test harness, not your plugin (most users won't). - Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your tests fail gracefully if those assets don't don't exist (perhaps log a warning, perhaps fail a single asset-checking test, and skip the rest). Then, ideally download those assets automatically into local storage the first time tests run. Or create a manual test step to download and install assets. As a final alternative, split those test assets into a separate plugin, and instruct users to install that plugin to run your full test suite. - Q: Should I ship my app with the test harness plugin installed? - A: Not likely. If you want, you can. Then your app could even embed a link to the test page (cdvtests/index.html) from a help section of your app, to give end users a way to run your test suite out
Re: plugin test framework
My ultimate would be this: cordova create TestFilePlugin cd TestFilePlugin cordova platform add android cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-labs.git#cdvtest:cordova-plugin-test-framework cordova plugin add ../cordova-plugin-file/ cordova plugin add ../cordova-plugin-file/test/ cordova run android --start cdvtests/index.html Then do this for each plugin, and for each platform Then do this for all combinations of plugins ... Note the run --start does not yet exist, but this would be awesome! @purplecabbage risingj.com On Thu, Jun 19, 2014 at 4:15 PM, Jesse purplecabb...@gmail.com wrote: Option a) was what I suggested a ways back, and I still stand by it. I think it provides the greatest transparency, and simplicity, yet it is still very flexible. I don't think it would be hard to accomplish either. This is the small re-org I was hinting at, you've already done the hard part. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 3:45 PM, Michal Mocny mmo...@chromium.org wrote: Andrew has raised that concern as well. My gut says that the bundling of a few shorts scripts that get parsed but not run as long as they don't get require() will not affect applications negatively (there are probably many more significant overheads we live with today in cordova) -- but I understand why that may not be useful default. In that case, some ideas: (I recall these were proposed previously but not sure by whom) (a) Bundle tests as a plugin-within-the-plugin as such: myplugin/ - plugin.xml - src/... - www/... - tests/ - plugin.xml - www/... Which basically means the plugin tests live in the same repo/branch, and are fetched as part of plugin add, but are not moved into platforms/ on cordova prepare by default, thus don't end up in your application (disk and network are cheap, application startup and size costs are not, right?). Then, to run tests, we basically need to iterate all plugins looking for a nested tests/plugin.xml, and install those. This can be added to CLI/Plugman, or just be a CLI hook even. (b) add a js-test-module or js-module type=test that is only used if you run prepare with --test. Similar to the above, but I think requires more CLI/config file changes, which I'm not a fan of. (c) Just ship tests as a second plugin in a second repo, and document how to install tests. Can then perhaps have a dependency type=tests. I don't like this as much since its basically back to mobile-spec. WDYT? -Michal On Thu, Jun 19, 2014 at 4:53 PM, Jesse purplecabb...@gmail.com wrote: re: Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your ... My concern is I do not want to see tests added to every project that uses a plugin, even if the assets are not large, there are implications to including the test framework + all the tests because they get loaded and processed with all of the plugins and will impact load time even if never run. 99.9% of the time the plugin tests will be used by us the plugin developers, and not the people who use the plugin in there apps. I agree, having the tester install the test harness plugin dependency themselves is probably a better option, as I see you have wrapped all tests inside a exports.defineAutoTests so we don't have to worry about describe/it/expects not being defined. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 1:27 PM, Michal Mocny mmo...@chromium.org wrote: Jesee, the branch is NOT a requirement (I don't think I documented it as such, except in the examples for installing plugins for initial look). Actually, we should delete those stale branches now that we are moving up-to-date tests into master. It was just for early experimentation on the feature. Jesse, I'm not seeing the benefit of using plugins-tests.xml or the dependency on the test plugin yet, may you elaborate your thoughts? My hope was that tests are just always installed alongside plugins. If that is not a good idea for some particular plugin, say because it uses huge assets, I elaborated my answer in the plugin FAQ ( https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md#faq ): FAQ - Q: Should I add org.apache.cordova.test-harness as a dependancy of my plugin? - A: No. The end-user should decide if they want to install the test harness, not your plugin (most users won't). - Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your tests fail gracefully if those assets don't don't exist (perhaps log a warning, perhaps fail a single asset-checking test, and skip the rest
Re: plugin test framework
+1 I agree, this would be awesome. New question, should this merely be the standard we adhere to for core plugins, or should we actively make it difficult for plugin devs to not ship tests directly with plugins? (Not sure how we could accomplish that, so I hope its just a convention that applies to our work). -Michal On Thu, Jun 19, 2014 at 7:48 PM, Jesse purplecabb...@gmail.com wrote: My ultimate would be this: cordova create TestFilePlugin cd TestFilePlugin cordova platform add android cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-labs.git#cdvtest:cordova-plugin-test-framework cordova plugin add ../cordova-plugin-file/ cordova plugin add ../cordova-plugin-file/test/ cordova run android --start cdvtests/index.html Then do this for each plugin, and for each platform Then do this for all combinations of plugins ... Note the run --start does not yet exist, but this would be awesome! @purplecabbage risingj.com On Thu, Jun 19, 2014 at 4:15 PM, Jesse purplecabb...@gmail.com wrote: Option a) was what I suggested a ways back, and I still stand by it. I think it provides the greatest transparency, and simplicity, yet it is still very flexible. I don't think it would be hard to accomplish either. This is the small re-org I was hinting at, you've already done the hard part. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 3:45 PM, Michal Mocny mmo...@chromium.org wrote: Andrew has raised that concern as well. My gut says that the bundling of a few shorts scripts that get parsed but not run as long as they don't get require() will not affect applications negatively (there are probably many more significant overheads we live with today in cordova) -- but I understand why that may not be useful default. In that case, some ideas: (I recall these were proposed previously but not sure by whom) (a) Bundle tests as a plugin-within-the-plugin as such: myplugin/ - plugin.xml - src/... - www/... - tests/ - plugin.xml - www/... Which basically means the plugin tests live in the same repo/branch, and are fetched as part of plugin add, but are not moved into platforms/ on cordova prepare by default, thus don't end up in your application (disk and network are cheap, application startup and size costs are not, right?). Then, to run tests, we basically need to iterate all plugins looking for a nested tests/plugin.xml, and install those. This can be added to CLI/Plugman, or just be a CLI hook even. (b) add a js-test-module or js-module type=test that is only used if you run prepare with --test. Similar to the above, but I think requires more CLI/config file changes, which I'm not a fan of. (c) Just ship tests as a second plugin in a second repo, and document how to install tests. Can then perhaps have a dependency type=tests. I don't like this as much since its basically back to mobile-spec. WDYT? -Michal On Thu, Jun 19, 2014 at 4:53 PM, Jesse purplecabb...@gmail.com wrote: re: Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your ... My concern is I do not want to see tests added to every project that uses a plugin, even if the assets are not large, there are implications to including the test framework + all the tests because they get loaded and processed with all of the plugins and will impact load time even if never run. 99.9% of the time the plugin tests will be used by us the plugin developers, and not the people who use the plugin in there apps. I agree, having the tester install the test harness plugin dependency themselves is probably a better option, as I see you have wrapped all tests inside a exports.defineAutoTests so we don't have to worry about describe/it/expects not being defined. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 1:27 PM, Michal Mocny mmo...@chromium.org wrote: Jesee, the branch is NOT a requirement (I don't think I documented it as such, except in the examples for installing plugins for initial look). Actually, we should delete those stale branches now that we are moving up-to-date tests into master. It was just for early experimentation on the feature. Jesse, I'm not seeing the benefit of using plugins-tests.xml or the dependency on the test plugin yet, may you elaborate your thoughts? My hope was that tests are just always installed alongside plugins. If that is not a good idea for some particular plugin, say because it uses huge assets, I elaborated my answer in the plugin FAQ ( https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md#faq ): FAQ - Q: Should I add
Re: plugin test framework
I think we just lead by example. Sent from my iPhone On Jun 19, 2014, at 6:18 PM, Michal Mocny mmo...@chromium.org wrote: +1 I agree, this would be awesome. New question, should this merely be the standard we adhere to for core plugins, or should we actively make it difficult for plugin devs to not ship tests directly with plugins? (Not sure how we could accomplish that, so I hope its just a convention that applies to our work). -Michal On Thu, Jun 19, 2014 at 7:48 PM, Jesse purplecabb...@gmail.com wrote: My ultimate would be this: cordova create TestFilePlugin cd TestFilePlugin cordova platform add android cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-labs.git#cdvtest:cordova-plugin-test-framework cordova plugin add ../cordova-plugin-file/ cordova plugin add ../cordova-plugin-file/test/ cordova run android --start cdvtests/index.html Then do this for each plugin, and for each platform Then do this for all combinations of plugins ... Note the run --start does not yet exist, but this would be awesome! @purplecabbage risingj.com On Thu, Jun 19, 2014 at 4:15 PM, Jesse purplecabb...@gmail.com wrote: Option a) was what I suggested a ways back, and I still stand by it. I think it provides the greatest transparency, and simplicity, yet it is still very flexible. I don't think it would be hard to accomplish either. This is the small re-org I was hinting at, you've already done the hard part. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 3:45 PM, Michal Mocny mmo...@chromium.org wrote: Andrew has raised that concern as well. My gut says that the bundling of a few shorts scripts that get parsed but not run as long as they don't get require() will not affect applications negatively (there are probably many more significant overheads we live with today in cordova) -- but I understand why that may not be useful default. In that case, some ideas: (I recall these were proposed previously but not sure by whom) (a) Bundle tests as a plugin-within-the-plugin as such: myplugin/ - plugin.xml - src/... - www/... - tests/ - plugin.xml - www/... Which basically means the plugin tests live in the same repo/branch, and are fetched as part of plugin add, but are not moved into platforms/ on cordova prepare by default, thus don't end up in your application (disk and network are cheap, application startup and size costs are not, right?). Then, to run tests, we basically need to iterate all plugins looking for a nested tests/plugin.xml, and install those. This can be added to CLI/Plugman, or just be a CLI hook even. (b) add a js-test-module or js-module type=test that is only used if you run prepare with --test. Similar to the above, but I think requires more CLI/config file changes, which I'm not a fan of. (c) Just ship tests as a second plugin in a second repo, and document how to install tests. Can then perhaps have a dependency type=tests. I don't like this as much since its basically back to mobile-spec. WDYT? -Michal On Thu, Jun 19, 2014 at 4:53 PM, Jesse purplecabb...@gmail.com wrote: re: Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your ... My concern is I do not want to see tests added to every project that uses a plugin, even if the assets are not large, there are implications to including the test framework + all the tests because they get loaded and processed with all of the plugins and will impact load time even if never run. 99.9% of the time the plugin tests will be used by us the plugin developers, and not the people who use the plugin in there apps. I agree, having the tester install the test harness plugin dependency themselves is probably a better option, as I see you have wrapped all tests inside a exports.defineAutoTests so we don't have to worry about describe/it/expects not being defined. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 1:27 PM, Michal Mocny mmo...@chromium.org wrote: Jesee, the branch is NOT a requirement (I don't think I documented it as such, except in the examples for installing plugins for initial look). Actually, we should delete those stale branches now that we are moving up-to-date tests into master. It was just for early experimentation on the feature. Jesse, I'm not seeing the benefit of using plugins-tests.xml or the dependency on the test plugin yet, may you elaborate your thoughts? My hope was that tests are just always installed alongside plugins. If that is not a good idea for some particular plugin, say because it uses huge assets, I elaborated my answer in the plugin FAQ ( https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md#faq ): FAQ - Q: Should I add org.apache.cordova.test-harness
Re: plugin test framework
testing is good, no need to hide it, it would be good though to not copy it with the rendered app Dnia Thu Jun 19 19:11:25 2014 purplecabbage pisze: I think we just lead by example. Sent from my iPhone On Jun 19, 2014, at 6:18 PM, Michal Mocny mmo...@chromium.org wrote: +1 I agree, this would be awesome. New question, should this merely be the standard we adhere to for core plugins, or should we actively make it difficult for plugin devs to not ship tests directly with plugins? (Not sure how we could accomplish that, so I hope its just a convention that applies to our work). -Michal On Thu, Jun 19, 2014 at 7:48 PM, Jesse purplecabb...@gmail.com wrote: My ultimate would be this: cordova create TestFilePlugin cd TestFilePlugin cordova platform add android cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-labs.git#cdvtest:cordova-plugin-test-framework cordova plugin add ../cordova-plugin-file/ cordova plugin add ../cordova-plugin-file/test/ cordova run android --start cdvtests/index.html Then do this for each plugin, and for each platform Then do this for all combinations of plugins ... Note the run --start does not yet exist, but this would be awesome! @purplecabbage risingj.com On Thu, Jun 19, 2014 at 4:15 PM, Jesse purplecabb...@gmail.com wrote: Option a) was what I suggested a ways back, and I still stand by it. I think it provides the greatest transparency, and simplicity, yet it is still very flexible. I don't think it would be hard to accomplish either. This is the small re-org I was hinting at, you've already done the hard part. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 3:45 PM, Michal Mocny mmo...@chromium.org wrote: Andrew has raised that concern as well. My gut says that the bundling of a few shorts scripts that get parsed but not run as long as they don't get require() will not affect applications negatively (there are probably many more significant overheads we live with today in cordova) -- but I understand why that may not be useful default. In that case, some ideas: (I recall these were proposed previously but not sure by whom) (a) Bundle tests as a plugin-within-the-plugin as such: myplugin/ - plugin.xml - src/... - www/... - tests/ - plugin.xml - www/... Which basically means the plugin tests live in the same repo/branch, and are fetched as part of plugin add, but are not moved into platforms/ on cordova prepare by default, thus don't end up in your application (disk and network are cheap, application startup and size costs are not, right?). Then, to run tests, we basically need to iterate all plugins looking for a nested tests/plugin.xml, and install those. This can be added to CLI/Plugman, or just be a CLI hook even. (b) add a js-test-module or js-module type=test that is only used if you run prepare with --test. Similar to the above, but I think requires more CLI/config file changes, which I'm not a fan of. (c) Just ship tests as a second plugin in a second repo, and document how to install tests. Can then perhaps have a dependency type=tests. I don't like this as much since its basically back to mobile-spec. WDYT? -Michal On Thu, Jun 19, 2014 at 4:53 PM, Jesse purplecabb...@gmail.com wrote: re: Q: What do I do if my plugin tests must have very large assets? - A: Don't bundle those assets with your plugin. If you can, have your ... My concern is I do not want to see tests added to every project that uses a plugin, even if the assets are not large, there are implications to including the test framework + all the tests because they get loaded and processed with all of the plugins and will impact load time even if never run. 99.9% of the time the plugin tests will be used by us the plugin developers, and not the people who use the plugin in there apps. I agree, having the tester install the test harness plugin dependency themselves is probably a better option, as I see you have wrapped all tests inside a exports.defineAutoTests so we don't have to worry about describe/it/expects not being defined. @purplecabbage risingj.com On Thu, Jun 19, 2014 at 1:27 PM, Michal Mocny mmo...@chromium.org wrote: Jesee, the branch is NOT a requirement (I don't think I documented it as such, except in the examples for installing plugins for initial look). Actually, we should delete those stale branches now that we are moving up-to-date tests into master. It was just for early experimentation on the feature. Jesse, I'm not seeing the benefit of using plugins-tests.xml or the dependency on the test plugin yet, may you elaborate your thoughts? My hope was that tests are just always installed alongside plugins. If that is not a good idea for some particular plugin, say because it uses huge assets, I elaborated my answer in the plugin FAQ ( https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md#faq ): FAQ - Q
[GitHub] cordova-mobile-spec pull request: CB-6928: Add 304 response test
GitHub user jpuerto opened a pull request: https://github.com/apache/cordova-mobile-spec/pull/71 CB-6928: Add 304 response test You can merge this pull request into a Git repository by running: $ git pull https://github.com/jpuerto/cordova-mobile-spec master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-mobile-spec/pull/71.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #71 commit 4f78beb5c55e5d02a0abc589db116e24220d52b2 Author: Javier Puerto javier.pue...@becompany.ch Date: 2014-06-19T00:59:22Z CB-6928: Add 304 response test --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: plugin test framework
Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla
Re: plugin test framework
What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla
Re: plugin test framework
a documentation explaining how it's gonna work Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla
Re: plugin test framework
This is the Cordova Plugin Test Framework readme.md, you can catch up with the functionality by reading some of the content: Repository: https://github.com/apache/cordova-labs Docs: https://github.com/apache/cordova-labs/blob/master/README.md https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md 2014-06-17 12:56 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: a documentation explaining how it's gonna work Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla -- Regards, Martin Gonzalez
Re: plugin test framework
Martin, thanks for posting those links. And I'll look into the INFRA tickets I need to file to set up a repo for that plugin, since its ready to come out of labs. On Tue, Jun 17, 2014 at 2:06 PM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: This is the Cordova Plugin Test Framework readme.md, you can catch up with the functionality by reading some of the content: Repository: https://github.com/apache/cordova-labs Docs: https://github.com/apache/cordova-labs/blob/master/README.md https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md 2014-06-17 12:56 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: a documentation explaining how it's gonna work Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla -- Regards, Martin Gonzalez
Re: plugin test framework
Thanks Martin, Has it been considered to create a separate command testrun or similar which would remove the need to edit the config.xml? Dnia Tue Jun 17 11:58:33 2014 Michal Mocny pisze: Martin, thanks for posting those links. And I'll look into the INFRA tickets I need to file to set up a repo for that plugin, since its ready to come out of labs. On Tue, Jun 17, 2014 at 2:06 PM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: This is the Cordova Plugin Test Framework readme.md, you can catch up with the functionality by reading some of the content: Repository: https://github.com/apache/cordova-labs Docs: https://github.com/apache/cordova-labs/blob/master/README.md https://github.com/apache/cordova-labs/blob/cdvtest/cordova-plugin-test-framework/README.md 2014-06-17 12:56 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: a documentation explaining how it's gonna work Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla -- Regards, Martin Gonzalez -- Piotr Zalewa Mozilla
Re: plugin test framework
It would be a nice to have in the cli, aimed to just setup the right path in the config.xml, maybe along with an another argument to build, run/emulate as well. It sounds great. 2014-06-17 15:21 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: Thanks Martin, Has it been considered to create a separate command testrun or similar which would remove the need to edit the config.xml? Dnia Tue Jun 17 11:58:33 2014 Michal Mocny pisze: Martin, thanks for posting those links. And I'll look into the INFRA tickets I need to file to set up a repo for that plugin, since its ready to come out of labs. On Tue, Jun 17, 2014 at 2:06 PM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: This is the Cordova Plugin Test Framework readme.md, you can catch up with the functionality by reading some of the content: Repository: https://github.com/apache/cordova-labs Docs: https://github.com/apache/cordova-labs/blob/master/README.md https://github.com/apache/cordova-labs/blob/cdvtest/ cordova-plugin-test-framework/README.md 2014-06-17 12:56 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: a documentation explaining how it's gonna work Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla -- Regards, Martin Gonzalez -- Piotr Zalewa Mozilla -- Regards, Martin Gonzalez
Re: plugin test framework
One thing more - it would be great if user could create a test using test harness app as well. Is it also considered? Dnia Tue Jun 17 13:27:22 2014 Martin Gonzalez pisze: It would be a nice to have in the cli, aimed to just setup the right path in the config.xml, maybe along with an another argument to build, run/emulate as well. It sounds great. 2014-06-17 15:21 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: Thanks Martin, Has it been considered to create a separate command testrun or similar which would remove the need to edit the config.xml? Dnia Tue Jun 17 11:58:33 2014 Michal Mocny pisze: Martin, thanks for posting those links. And I'll look into the INFRA tickets I need to file to set up a repo for that plugin, since its ready to come out of labs. On Tue, Jun 17, 2014 at 2:06 PM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: This is the Cordova Plugin Test Framework readme.md, you can catch up with the functionality by reading some of the content: Repository: https://github.com/apache/cordova-labs Docs: https://github.com/apache/cordova-labs/blob/master/README.md https://github.com/apache/cordova-labs/blob/cdvtest/ cordova-plugin-test-framework/README.md 2014-06-17 12:56 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: a documentation explaining how it's gonna work Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla -- Regards, Martin Gonzalez -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla
Re: plugin test framework
At the time I went through my design iterations I just didn't want to necessarily depend on cordova tooling changes / documentation. In other words, someone else may have a different strategy for testing.. My personal opinion would be have the test plugin ship with a plugin hook (those are in, right? or at least on their way), that will automatically update the start page if you pass a flag to run command. Ie, in an ideal world: `cordova run --tests` runs a plugin hook passing in --tests flag which changes the start page, in a way that isn't overwritten by the top-level config.xml. My 2 cents, since I don't want our way of testing mobile spec to be the only way to test. Frameworks and opinions on testing change. -Michal On Tue, Jun 17, 2014 at 4:33 PM, Piotr Zalewa pzal...@mozilla.com wrote: One thing more - it would be great if user could create a test using test harness app as well. Is it also considered? Dnia Tue Jun 17 13:27:22 2014 Martin Gonzalez pisze: It would be a nice to have in the cli, aimed to just setup the right path in the config.xml, maybe along with an another argument to build, run/emulate as well. It sounds great. 2014-06-17 15:21 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: Thanks Martin, Has it been considered to create a separate command testrun or similar which would remove the need to edit the config.xml? Dnia Tue Jun 17 11:58:33 2014 Michal Mocny pisze: Martin, thanks for posting those links. And I'll look into the INFRA tickets I need to file to set up a repo for that plugin, since its ready to come out of labs. On Tue, Jun 17, 2014 at 2:06 PM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: This is the Cordova Plugin Test Framework readme.md, you can catch up with the functionality by reading some of the content: Repository: https://github.com/apache/cordova-labs Docs: https://github.com/apache/cordova-labs/blob/master/README.md https://github.com/apache/cordova-labs/blob/cdvtest/ cordova-plugin-test-framework/README.md 2014-06-17 12:56 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: a documentation explaining how it's gonna work Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla -- Regards, Martin Gonzalez -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla
Re: plugin test framework
Piotr: Actually I'm not sure how running tests in the harness would work, since the path to the resource may be different. However, in general, with development using the harness you aren't making any changes to plugins. The whole point is for app developers who want to modify only web application bits and not deal with native compiles. In theory the app harness could support working on the js-modules of plugins, but that sounds like a really niche idea. I'd not be opposed to someone working on it but I'm not sure you'll have luck finding volunteers. -Michal On Tue, Jun 17, 2014 at 5:13 PM, Michal Mocny mmo...@chromium.org wrote: At the time I went through my design iterations I just didn't want to necessarily depend on cordova tooling changes / documentation. In other words, someone else may have a different strategy for testing.. My personal opinion would be have the test plugin ship with a plugin hook (those are in, right? or at least on their way), that will automatically update the start page if you pass a flag to run command. Ie, in an ideal world: `cordova run --tests` runs a plugin hook passing in --tests flag which changes the start page, in a way that isn't overwritten by the top-level config.xml. My 2 cents, since I don't want our way of testing mobile spec to be the only way to test. Frameworks and opinions on testing change. -Michal On Tue, Jun 17, 2014 at 4:33 PM, Piotr Zalewa pzal...@mozilla.com wrote: One thing more - it would be great if user could create a test using test harness app as well. Is it also considered? Dnia Tue Jun 17 13:27:22 2014 Martin Gonzalez pisze: It would be a nice to have in the cli, aimed to just setup the right path in the config.xml, maybe along with an another argument to build, run/emulate as well. It sounds great. 2014-06-17 15:21 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: Thanks Martin, Has it been considered to create a separate command testrun or similar which would remove the need to edit the config.xml? Dnia Tue Jun 17 11:58:33 2014 Michal Mocny pisze: Martin, thanks for posting those links. And I'll look into the INFRA tickets I need to file to set up a repo for that plugin, since its ready to come out of labs. On Tue, Jun 17, 2014 at 2:06 PM, Martin Gonzalez martin.c.glez.g...@gmail.com wrote: This is the Cordova Plugin Test Framework readme.md, you can catch up with the functionality by reading some of the content: Repository: https://github.com/apache/cordova-labs Docs: https://github.com/apache/cordova-labs/blob/master/README.md https://github.com/apache/cordova-labs/blob/cdvtest/ cordova-plugin-test-framework/README.md 2014-06-17 12:56 GMT-05:00 Piotr Zalewa pzal...@mozilla.com: a documentation explaining how it's gonna work Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: What do you mean? On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa pzal...@mozilla.com wrote: Is there any predev document? Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap. -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla -- Regards, Martin Gonzalez -- Piotr Zalewa Mozilla -- Piotr Zalewa Mozilla
plugin test framework
Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap.
Re: plugin test framework
Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap.
Re: plugin test framework
Yeah, really exciting. Thanks for taking this on. On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny mmo...@chromium.org wrote: Fantastic! I'll try to keep an eye out on the PR's, and please ping me if you would like any help. -Michal On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard cmarc...@gmail.com wrote: Hi, after some discussions here with IBM management, we’re going to bring in a couple extra interns for a week to jumpstart the migration of the tests out of mobile-spec into the new plugin test framework. Staci Cooper will be leading this effort, and Martin Gonzalez will be a part of it. So if you see a bunch of pull requests, this is what it is for. We’ll get the interns to submit an ICLA asap.
Issue with Mobilespec3.4.0 Contact.spec.21 test case
Hello, My name is Pavan Joshi and I'm currently building applications with Cordova Currently while working on Mobilespec3.4.0 version I notice that for a particular version of Android, contacts.spec.21 test case always fails. This failure is identified only in 4.1.2 Android version, but the same test case passes on 4.0.3, 4.0.4 and even on 4.4.2 Android versions. I further investigated and found that the same issue was faced by another person and a JIRA was raised. The JIRA id is https://issues.apache.org/jira/browse/CB-5308 The main issue is explained in these steps 1) I create a Contacts object (contactsObj) navigator.contacts.create({gender: male, note: my note, name: {familyName: Delete, givenName: Test}, emails: [{value: h...@there.commailto:h...@there.com}, {value: th...@here.commailto:th...@here.com}], birthday: new Date(1976, 6,4)}); API 2) I save this contactsObj by contactsObj.save() 3) Then I change the note field of this contact object by contactsObj.note = An Updated Note; 4) Then I save again contactsObj.save(); I notice that in ContactAccessorSdk5.save() method, the id value of the same object is different. The rawID value is same but the value of id field is different. I also noticed that rawID filed in Contact.js (that is Contact) object is always assigned to null and not used. Does this id correspond to RAW_CONTACT_ID of the ContactsContract.RawContacts class. Kindly help me in identifying the exact cause of the failure of test case. Please also let us know when this JIRA will be taken up for resolving Pavan Joshi Software Development Engineer Fujitsu Australia Software Technology Pty Ltd (FAST) Lvl 1, Bldg C, 14 Rodborough Rd, Frenchs Forest, NSW 2086, Australia T +61 2 9452 9147 pavankum...@fast.au.fujitsu.commailto:pavankum...@fast.au.fujitsu.com
[GitHub] cordova-lib pull request: CB-6859 Removed all wp7 references, test...
GitHub user purplecabbage opened a pull request: https://github.com/apache/cordova-lib/pull/23 CB-6859 Removed all wp7 references, tests still passing You can merge this pull request into a Git repository by running: $ git pull https://github.com/purplecabbage/cordova-lib CB-6859_Sayonora-WP7 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/23.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #23 commit 6d74f296f311ecbc85c354cb2f4ea8f8280e416e Author: Jesse MacFadyen purplecabb...@gmail.com Date: 2014-06-03T21:43:49Z CB-6859 Removed all wp7 references, tests still passing --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-lib pull request: CB-6859 Removed all wp7 references, test...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/23 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Pull requests for cordova-lib - fix windows8 test
The test is broken and has been for a while, Introduced by: https://issues.apache.org/jira/browse/CB-5421 fix: https://github.com/apache/cordova-lib/pull/8 Please merge...
Re: Test.
Doing a ping to see how far behind the list is.
Re: Test.
The dev list may be caught up now. I sent it at 9:40am EDT Monday, it arrived in James’ gmail inbox within a minute or so. Woohoo! On May 19, 2014, at 9:40 AM, Marcel Kinard cmarc...@gmail.com wrote: Doing a ping to see how far behind the list is.
Re: Test.
gmail tells me this was sent 7 days ago? I stopped getting mail again yesterday. Only tiny random messages float through... I know you guys are talking more than that ;) On Thu, May 8, 2014 at 10:03 AM, Michal Mocny mmo...@google.com wrote:
Re: Test.
7 days ago - finally arrived, congrats On Thu, May 8, 2014 at 7:03 AM, Michal Mocny mmo...@google.com wrote:
Re: Test.
Wow, one day ago from Shaz ... wonder when this will show up ... @purplecabbage risingj.com On Thu, May 15, 2014 at 12:35 PM, Shazron shaz...@gmail.com wrote: 7 days ago - finally arrived, congrats On Thu, May 8, 2014 at 7:03 AM, Michal Mocny mmo...@google.com wrote:
Re: Test.
Heh. 3 hours it says, but I haven't been checking actively tonight. At least its improving! On Fri, May 16, 2014 at 6:44 PM, Jesse purplecabb...@gmail.com wrote: Wow, one day ago from Shaz ... wonder when this will show up ... @purplecabbage risingj.com On Thu, May 15, 2014 at 12:35 PM, Shazron shaz...@gmail.com wrote: 7 days ago - finally arrived, congrats On Thu, May 8, 2014 at 7:03 AM, Michal Mocny mmo...@google.com wrote:
Test.
[GitHub] cordova-windows pull request: cordova run test + add common.js l...
Github user asfgit closed the pull request at: https://github.com/apache/cordova-windows/pull/19 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: [jira] [Commented] (CB-6594) [Release + 3.5.0] Branch Test Tag RC1 for Ubuntu
Hey Maxim, I'm assuming you want me to pull those in :P On Fri, May 2, 2014 at 10:35 AM, Maxim Ermilov (JIRA) j...@apache.orgwrote: [ https://issues.apache.org/jira/browse/CB-6594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987982#comment-13987982] Maxim Ermilov commented on CB-6594: --- https://github.com/apache/cordova-ubuntu/pull/6 https://github.com/apache/cordova-plugin-file/pull/43 https://github.com/apache/cordova-plugin-file-transfer/pull/29 https://github.com/apache/cordova-cli/pull/136 https://github.com/apache/cordova-plugin-device-motion/pull/12 https://github.com/apache/cordova-plugin-camera/pull/25 [Release + 3.5.0] Branch Test Tag RC1 for Ubuntu Key: CB-6594 URL: https://issues.apache.org/jira/browse/CB-6594 Project: Apache Cordova Issue Type: Sub-task Components: Ubuntu Reporter: Steve Gill Assignee: Maxim Ermilov Fix For: 3.5.0 Refer to Workflow here: http://wiki.apache.org/cordova/CuttingReleases -- This message was sent by Atlassian JIRA (v6.2#6252)
[GitHub] cordova-windows pull request: cordova run test + add common.js l...
Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-windows/pull/19#issuecomment-41599483 The inclusion of 'eval' to load code is problematic. This pull-request will not be merged. You can close it. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-osx pull request: CB-6516 (re) add missing test harness
GitHub user tripodsan opened a pull request: https://github.com/apache/cordova-osx/pull/8 CB-6516 (re) add missing test harness - added TestApp - added some initial test cases - added bin/tests to execute the tests from the command line You can merge this pull request into a Git repository by running: $ git pull https://github.com/tripodsan/cordova-osx CB-6516 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-osx/pull/8.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #8 commit 297d580f8dbcd4b4552e748ffb4de52fbbda9c7a Author: Tobias Bocanegra tri...@adobe.com Date: 2014-04-25T07:47:44Z CB-6516 (re) add missing test harness fixed - added TestApp - added some initial test cases - added bin/tests to execute the tests from the command line --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-mobile-spec pull request: CB-6466 Created mobile-spec test
GitHub user stacic opened a pull request: https://github.com/apache/cordova-mobile-spec/pull/58 CB-6466 Created mobile-spec test Added a test to mobile-spec to check that filetransfer.download() automatically creates any nonexistent directories. Associated with https://github.com/apache/cordova-plugin-file-transfer/pull/28 You can merge this pull request into a Git repository by running: $ git pull https://github.com/stacic/cordova-mobile-spec CB-6466 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-mobile-spec/pull/58.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #58 commit a8722ba7715800ff136cf362d9cf2ee0d1e47551 Author: Staci smcoo...@us.ibm.com Date: 2014-04-25T20:01:00Z CB-6466 Created mobile-spec test Added a test to mobile-spec to check that filetransfer.download() automatically creates any nonexistent directories. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-osx pull request: CB-6516 (re) add missing test harness
Github user tripodsan commented on the pull request: https://github.com/apache/cordova-osx/pull/8#issuecomment-41448811 thanks --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cordova-osx pull request: CB-6516 (re) add missing test harness
Github user tripodsan closed the pull request at: https://github.com/apache/cordova-osx/pull/8 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: Get your test results here! Medic/CI viewing available
Steven wrote: DAMN YOU ADOBE NET!!! [cid:361@goomoji.gmail] I can access it on the guest network. I was able to access it from a cellular network, but I can’t access it from our corporate network.
Re: Get your test results here! Medic/CI viewing available
I just set up ci.cordova.io to point there! I'm guessing Adobe/Blackberry Net block it due to the port. On Wed, Mar 26, 2014 at 11:39 AM, Marcel Kinard cmarc...@gmail.com wrote: I'm able to see it from the IBM corporate network. Looks nice. Great work, David! On Mar 25, 2014, at 11:05 PM, Brian LeRoux b...@brian.io wrote: we should get the dns pointing there ci.cordova.io ?? If it is ready for that, sounds like a great next step.
Re: Get your test results here! Medic/CI viewing available
Steven wrote: I'm guessing Adobe/Blackberry Net block it due to the port. Seems likely. Is there any reason it can¹t run on a standard port?
Get your test results here! Medic/CI viewing available
Hi all, After many months of delays, we now have our Buildbot master available for the community to view. You can see the status of the tests for Android, iOS, CLI and Plugman, You can see/view the build display at: http://108.170.217.131:8010/waterfall or http://goo.gl/UNijok For those not familiar with Buildbot, each phase of the test has a 'stdio' link that allows you to see any command output from that step. If a step fails (stopping the build) you can generally just click the link and see the error messages. Test results are saved in a couchDB for posterity, but there is no pretty dashboard for that. *Currently Configuration:* Android Master : master platform, dev plugins, master CLI, master Plugman Android Release : 3.4.x platform, master plugins, master CLI, master Plugman iOS Master : master platform, dev plugins, master CLI, master Plugman iOS Release : 3.4.x platform, master plugins, master CLI, master Plugman Tools CLI Master : master CLI, master Plugman Tools Plugman : master plugman Chrome Desktop : Chrome API tests on release Chrome Chrome Mobile : Chrome API tests on cca - android Note that the last two tests are for our Chrome Apps on Mobile toolchain (not part of Cordova). Android and iOS tests currently run on only one device: iPad mini v7.0 and Nexus 7 v4.3
Re: Get your test results here! Medic/CI viewing available
Either Adobe NET is blocking me or it is down. On Tue, Mar 25, 2014 at 1:50 PM, David Kemp drk...@chromium.org wrote: Hi all, After many months of delays, we now have our Buildbot master available for the community to view. You can see the status of the tests for Android, iOS, CLI and Plugman, You can see/view the build display at: http://108.170.217.131:8010/waterfall or http://goo.gl/UNijok For those not familiar with Buildbot, each phase of the test has a 'stdio' link that allows you to see any command output from that step. If a step fails (stopping the build) you can generally just click the link and see the error messages. Test results are saved in a couchDB for posterity, but there is no pretty dashboard for that. *Currently Configuration:* Android Master : master platform, dev plugins, master CLI, master Plugman Android Release : 3.4.x platform, master plugins, master CLI, master Plugman iOS Master : master platform, dev plugins, master CLI, master Plugman iOS Release : 3.4.x platform, master plugins, master CLI, master Plugman Tools CLI Master : master CLI, master Plugman Tools Plugman : master plugman Chrome Desktop : Chrome API tests on release Chrome Chrome Mobile : Chrome API tests on cca - android Note that the last two tests are for our Chrome Apps on Mobile toolchain (not part of Cordova). Android and iOS tests currently run on only one device: iPad mini v7.0 and Nexus 7 v4.3
Re: Get your test results here! Medic/CI viewing available
Seems to be up for me here in the East Bay On Tue, Mar 25, 2014 at 4:23 PM, Steven Gill stevengil...@gmail.com wrote: Either Adobe NET is blocking me or it is down. On Tue, Mar 25, 2014 at 1:50 PM, David Kemp drk...@chromium.org wrote: Hi all, After many months of delays, we now have our Buildbot master available for the community to view. You can see the status of the tests for Android, iOS, CLI and Plugman, You can see/view the build display at: http://108.170.217.131:8010/waterfall or http://goo.gl/UNijok For those not familiar with Buildbot, each phase of the test has a 'stdio' link that allows you to see any command output from that step. If a step fails (stopping the build) you can generally just click the link and see the error messages. Test results are saved in a couchDB for posterity, but there is no pretty dashboard for that. *Currently Configuration:* Android Master : master platform, dev plugins, master CLI, master Plugman Android Release : 3.4.x platform, master plugins, master CLI, master Plugman iOS Master : master platform, dev plugins, master CLI, master Plugman iOS Release : 3.4.x platform, master plugins, master CLI, master Plugman Tools CLI Master : master CLI, master Plugman Tools Plugman : master plugman Chrome Desktop : Chrome API tests on release Chrome Chrome Mobile : Chrome API tests on cca - android Note that the last two tests are for our Chrome Apps on Mobile toolchain (not part of Cordova). Android and iOS tests currently run on only one device: iPad mini v7.0 and Nexus 7 v4.3
Re: Get your test results here! Medic/CI viewing available
It is not down currently. I haven't had any downtime except a few minutes about 4 hours ago when we re-configured it. On Tue, Mar 25, 2014 at 4:23 PM, Steven Gill stevengil...@gmail.com wrote: Either Adobe NET is blocking me or it is down. On Tue, Mar 25, 2014 at 1:50 PM, David Kemp drk...@chromium.org wrote: Hi all, After many months of delays, we now have our Buildbot master available for the community to view. You can see the status of the tests for Android, iOS, CLI and Plugman, You can see/view the build display at: http://108.170.217.131:8010/waterfall or http://goo.gl/UNijok For those not familiar with Buildbot, each phase of the test has a 'stdio' link that allows you to see any command output from that step. If a step fails (stopping the build) you can generally just click the link and see the error messages. Test results are saved in a couchDB for posterity, but there is no pretty dashboard for that. *Currently Configuration:* Android Master : master platform, dev plugins, master CLI, master Plugman Android Release : 3.4.x platform, master plugins, master CLI, master Plugman iOS Master : master platform, dev plugins, master CLI, master Plugman iOS Release : 3.4.x platform, master plugins, master CLI, master Plugman Tools CLI Master : master CLI, master Plugman Tools Plugman : master plugman Chrome Desktop : Chrome API tests on release Chrome Chrome Mobile : Chrome API tests on cca - android Note that the last two tests are for our Chrome Apps on Mobile toolchain (not part of Cordova). Android and iOS tests currently run on only one device: iPad mini v7.0 and Nexus 7 v4.3
Re: Get your test results here! Medic/CI viewing available
Nice work David! -James Jong On Mar 25, 2014, at 4:50 PM, David Kemp drk...@chromium.org wrote: Hi all, After many months of delays, we now have our Buildbot master available for the community to view. You can see the status of the tests for Android, iOS, CLI and Plugman, You can see/view the build display at: http://108.170.217.131:8010/waterfall or http://goo.gl/UNijok For those not familiar with Buildbot, each phase of the test has a 'stdio' link that allows you to see any command output from that step. If a step fails (stopping the build) you can generally just click the link and see the error messages. Test results are saved in a couchDB for posterity, but there is no pretty dashboard for that. *Currently Configuration:* Android Master : master platform, dev plugins, master CLI, master Plugman Android Release : 3.4.x platform, master plugins, master CLI, master Plugman iOS Master : master platform, dev plugins, master CLI, master Plugman iOS Release : 3.4.x platform, master plugins, master CLI, master Plugman Tools CLI Master : master CLI, master Plugman Tools Plugman : master plugman Chrome Desktop : Chrome API tests on release Chrome Chrome Mobile : Chrome API tests on cca - android Note that the last two tests are for our Chrome Apps on Mobile toolchain (not part of Cordova). Android and iOS tests currently run on only one device: iPad mini v7.0 and Nexus 7 v4.3
Re: Get your test results here! Medic/CI viewing available
this is amazing / thanks so much David!!! On Tue, Mar 25, 2014 at 9:04 PM, James Jong wjamesj...@gmail.com wrote: Nice work David! -James Jong On Mar 25, 2014, at 4:50 PM, David Kemp drk...@chromium.org wrote: Hi all, After many months of delays, we now have our Buildbot master available for the community to view. You can see the status of the tests for Android, iOS, CLI and Plugman, You can see/view the build display at: http://108.170.217.131:8010/waterfall or http://goo.gl/UNijok For those not familiar with Buildbot, each phase of the test has a 'stdio' link that allows you to see any command output from that step. If a step fails (stopping the build) you can generally just click the link and see the error messages. Test results are saved in a couchDB for posterity, but there is no pretty dashboard for that. *Currently Configuration:* Android Master : master platform, dev plugins, master CLI, master Plugman Android Release : 3.4.x platform, master plugins, master CLI, master Plugman iOS Master : master platform, dev plugins, master CLI, master Plugman iOS Release : 3.4.x platform, master plugins, master CLI, master Plugman Tools CLI Master : master CLI, master Plugman Tools Plugman : master plugman Chrome Desktop : Chrome API tests on release Chrome Chrome Mobile : Chrome API tests on cca - android Note that the last two tests are for our Chrome Apps on Mobile toolchain (not part of Cordova). Android and iOS tests currently run on only one device: iPad mini v7.0 and Nexus 7 v4.3
Re: Get your test results here! Medic/CI viewing available
we should get the dns pointing there ci.cordova.io ?? On Tue, Mar 25, 2014 at 10:04 PM, Brian LeRoux b...@brian.io wrote: this is amazing / thanks so much David!!! On Tue, Mar 25, 2014 at 9:04 PM, James Jong wjamesj...@gmail.com wrote: Nice work David! -James Jong On Mar 25, 2014, at 4:50 PM, David Kemp drk...@chromium.org wrote: Hi all, After many months of delays, we now have our Buildbot master available for the community to view. You can see the status of the tests for Android, iOS, CLI and Plugman, You can see/view the build display at: http://108.170.217.131:8010/waterfall or http://goo.gl/UNijok For those not familiar with Buildbot, each phase of the test has a 'stdio' link that allows you to see any command output from that step. If a step fails (stopping the build) you can generally just click the link and see the error messages. Test results are saved in a couchDB for posterity, but there is no pretty dashboard for that. *Currently Configuration:* Android Master : master platform, dev plugins, master CLI, master Plugman Android Release : 3.4.x platform, master plugins, master CLI, master Plugman iOS Master : master platform, dev plugins, master CLI, master Plugman iOS Release : 3.4.x platform, master plugins, master CLI, master Plugman Tools CLI Master : master CLI, master Plugman Tools Plugman : master plugman Chrome Desktop : Chrome API tests on release Chrome Chrome Mobile : Chrome API tests on cca - android Note that the last two tests are for our Chrome Apps on Mobile toolchain (not part of Cordova). Android and iOS tests currently run on only one device: iPad mini v7.0 and Nexus 7 v4.3