You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/02/11 16:35:51 UTC

[cordova-contribute] 11/11: remove notes

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-testing
in repository https://gitbox.apache.org/repos/asf/cordova-contribute.git

commit 5429b6c37f4fca7388642909c16717364ba6ae9d
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Mon Feb 11 17:35:22 2019 +0100

    remove notes
---
 testing-notes      | 100 -----------------------------------------------------
 testing-plugins.md |  70 -------------------------------------
 2 files changed, 170 deletions(-)

diff --git a/testing-notes b/testing-notes
deleted file mode 100644
index c39e736..0000000
--- a/testing-notes
+++ /dev/null
@@ -1,100 +0,0 @@
-#### https://github.com/apache/cordova-android
-
-https://github.com/apache/cordova-android/blob/ef2434188efeef868e91232188ef080acdd28e32/package.json#L21-L30
-```
-  "scripts": {
-    "test": "run-s eslint unit-tests java-unit-tests e2e-tests",
-    "eslint": "run-s -c eslint:*",
-    "eslint:scripts": "eslint bin spec test",
-    "eslint:bins": "eslint 'bin/**/*' --ignore-pattern '**/*.*' --ignore-pattern '**/gitignore' --ignore-pattern 'bin/templates/cordova/version'"
-    "unit-tests": "jasmine --config=spec/unit/jasmine.json",
-    "java-unit-tests": "node test/run_java_unit_tests.js",
-    "e2e-tests": "jasmine --config=spec/e2e/jasmine.json",
-    "cover": "istanbul cover --root bin --print detail jasmine -- --config=spec/unit/jasmine.json",
-},
-```
-AppVeyor: npm test
-Travis:     - npm test
-- npm run cover
-
-
-
-
-
-#### https://github.com/apache/cordova-ios
-
-https://github.com/apache/cordova-ios/blob/62ebfbd74aff11b9fa0ca26685ee0578ecd9150f/package.json#L20-L32
-```
-  "scripts": {
-    "test": "npm run unit-tests && npm run test:component && npm run objc-tests && npm run e2e-tests",
-
-    "unit-tests": "jasmine --config=tests/spec/unit.json",
-    "test:component": "jasmine --config=tests/spec/component.json",
-    "objc-tests": "npm run objc-tests-lib && npm run objc-tests-framework",
-      "objc-tests-lib": "xcodebuild test -workspace tests/cordova-ios.xcworkspace -scheme CordovaLibTests -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
-      "objc-tests-framework": "xcodebuild test -workspace tests/cordova-ios.xcworkspace -scheme CordovaFrameworkApp -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
-    "e2e-tests": "jasmine tests/spec/create.spec.js",
-
-    "posttest": "npm run eslint",
-    "eslint": "eslint bin tests"
-
-    "cover": "nyc jasmine --config=tests/spec/coverage.json",
-
-    "preobjc-tests": "tests/scripts/killsim.js",
-},
-```
-AppVeyor:   - npm run unit-tests
-- npm run eslint
-Travis:   - npm run eslint
-  - npm run unit-tests
-  - npm run test:component
-  - npm run e2e-tests
-  - open -b com.apple.iphonesimulator
-  - npm run objc-tests
-- npm run cover
-https://github.com/apache/cordova-ios/blob/62ebfbd74aff11b9fa0ca26685ee0578ecd9150f/.travis.yml#L22-L28
-
-#### https://github.com/apache/cordova-windows
-
-https://github.com/apache/cordova-windows/blob/f687f6a58bcad5893039af991921cab4dae5bdcc/package.json#L19-L25
-```
-  "scripts": {
-    "test": "npm run eslint && npm run test-unit && npm run test-e2e",
-    "test-unit": "jasmine",
-    "test-e2e": "jasmine spec/e2e/endtoend.spec.js",
-    "cover": "istanbul cover --root bin/templates/cordova --print detail jasmine",
-    "eslint": "eslint bin && eslint template && eslint spec"
-},
-```
-AppVeyor: npm test
-Travis:   - npm run eslint
-- npm run cover
-
-#### https://github.com/apache/cordova-browser
-
-https://github.com/apache/cordova-browser/blob/59690b4f9a8bd47887f61c81aa6a6aba9962dade/package.json#L19-L23
-```
-  "scripts": {
-    "eslint": "eslint bin && eslint spec",
-    "jasmine": "jasmine",
-    "test": "npm run eslint && npm run jasmine"
-},
-```
-- AppVeyor: npm test
-- Travis: npm test
-
-#### https://github.com/apache/cordova-osx
-
-https://github.com/apache/cordova-osx/blob/8a70ced07351688c75ed09c9fe77eeb9a3dc7f16/package.json#L17-L23
-
-```
-  "scripts": {
-    "test": "npm run eslint && npm run test:coverage",
-    "test:objc": "jasmine  --config=tests/spec/objc.json",
-    "test:component": "jasmine --config=tests/spec/component.json",
-    "test:coverage": "nyc jasmine --config=tests/spec/coverage.json",
-    "eslint": "eslint bin tests"
-},
-```
-AppVeyor: -
-Tracis: npm test
diff --git a/testing-plugins.md b/testing-plugins.md
deleted file mode 100644
index 44a2c00..0000000
--- a/testing-plugins.md
+++ /dev/null
@@ -1,70 +0,0 @@
-# Testing Cordova Plugins
-
-## Writing tests
-
-### Unit Tests
-
-
-jasmine
-
-### Integration Tests
-
-1. `/tests` in app
-2. https://github.com/apache/cordova-plugin-test-framework
-3. `cdvtests/index.html`
-
-
-Install plugin and its tests in an app:
-
-```
-cordova plugin add https://github.com/apache/cordova-plugin-file-transfer.git
-cordova plugin add plugins/cordova-plugin-file-transfer/tests # local tests that were downloaded with previous commands
-cordova plugin add https://github.com/apache/cordova-plugin-test-framework
-```
-
-
-
-
-
-
-
-
-## Manual
-
-
-
-## Automated
-
-eslint
-paramedic
-  appium tests
-
-### CI
-
-Continuous Integration of Cordova plugins uses multiple providers:
-
-- Travis for Linux
-- AppVeyor for Windows
-
-There is no (or: only sometimes) direct testing on macOS (on Travis).
-
-#### Sauce Labs
-
-But integration tests are run on Saucelabs on many different devices, emulators and browsers (Android, iOS, Firefox, Safari, Chrome etc.). 
-
-The tests are executed via Travis, which triggers `cordova-paramedic`.  
-The tests are written in Appium.  
-The list of platforms to test is configured in `.travis.yml`.  
-The paramedic command is triggered after running all other tests.
-
-##### Credentials
-
-Account `snay`
-
-```yaml
-addons:
-  jwt:
-    secure: QivPLlqTVvOo3TJeHxuBOfxU6lho1I0IxQ3b68yntkEQQJko6kzleXHfgjf0a8aw8m38E3+fxaBWF1bGyucGwOLDWY8Ddt2P2xg44zdXH5EXHd9oIqAgngIdzLvUtH3Db2TbQEtIGOkrnNR2STovjqB7vHGLASQrgs4oL7r32/s=
-```
-
-encrypted SAUCE_ACCESS_KEY with https://docs.travis-ci.com/user/jwt


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org