Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking issue: Convert tests from ava to mocha #1080

Closed
AVaksman opened this issue Jan 7, 2019 · 3 comments
Closed

Tracking issue: Convert tests from ava to mocha #1080

AVaksman opened this issue Jan 7, 2019 · 3 comments

Comments

@AVaksman
Copy link
Contributor

AVaksman commented Jan 7, 2019

The following list represents all that currently use ava and need to be updated to use mocha:

    • building-an-app/update/test/server.test.js
    • appengine/cloudsql/test/createTables.test.js
    • appengine/cloudsql/test/server.test.js
    • appengine/cloudsql_postgresql/test/createTables.test.js
    • appengine/cloudsql_postgresql/test/server.test.js
    • appengine/endpoints/test/app.test.js
    • appengine/headless-chrome/test/app.test.js
    • appengine/pubsub/test/app.test.js
    • appengine/storage/flexible/system-test/app.test.js
    • appengine/storage/standard/system-test/app.test.js
    • appengine/websockets/test/index.test.js
    • auth/system-test/auth.test.js
    • cloud-sql/postgres/knex/test/createTable.test.js
    • cloud-sql/postgres/knex/test/server.test.js
    • cloud-sql/mysql/mysql/test/server.test.js
    • endpoints/getting-started/test/app.test.js
    • endpoints/getting-started-grpc/system-test/endpoints.test.js
    • functions/background/test/index.test.js
    • functions/billing/test/index.test.js
    • functions/composer-storage-trigger/test/index.test.js
    • functions/concepts/test/index.test.js
    • functions/datastore/test/index.test.js
    • functions/env_vars/test/index.test.js
    • functions/firebase/test/index.test.js
    • functions/headless-chrome/test/index.test.js
    • functions/helloworld/test/index.test.js
    • functions/helloworld/test/sample.integration.http.test.js
    • functions/helloworld/test/sample.integration.pubsub.test.js
    • functions/helloworld/test/sample.integration.storage.test.js
    • functions/helloworld/test/sample.system.http.test.js
    • functions/helloworld/test/sample.system.pubsub.test.js
    • functions/helloworld/test/sample.system.storage.test.js
    • functions/helloworld/test/sample.unit.http.test.js
    • functions/helloworld/test/sample.unit.pubsub.test.js
    • functions/helloworld/test/sample.unit.storage.test.js
    • functions/helloworld/test/shim.test.js
    • functions/http/test/index.test.js
    • functions/imagemagick/test/index.test.js
    • functions/log/test/index.test.js
    • functions/node8/test/sample.unit.pubsub.test.js
    • functions/node8/test/sample.unit.storage.test.js
    • functions/ocr/app/test/index.test.js
    • functions/pubsub/test/index.test.js
    • functions/scheduleinstance/test/index.test.js
    • functions/sendgrid/test/index.test.js
    • functions/slack/test/index.test.js
    • functions/spanner/test/index.test.js
    • functions/sql/test/index.test.js
    • functions/tips/test/index.test.js
    • functions/uuid/test/index.test.js
    • healthcare/datasets/system-test/datasets.test.js
    • healthcare/dicom/system-test/dicomweb.test.js
    • healthcare/dicom/system-test/dicom_stores.test.js
    • healthcare/fhir/system-test/fhir_resources.test.js
    • healthcare/fhir/system-test/fhir_stores.test.js
    • healthcare/hl7v2/system-test/hl7v2_messages.test.js
    • healthcare/hl7v2/system-test/hl7v2_stores.test.js
    • iot/beta-features/gateway/gateway.test.js
    • iot/http_example/system-test/cloudiot_http_example.test.js
    • iot/manager/system-test/manager.test.js
    • iot/mqtt_example/system-test/cloudiot_mqtt_example.test.js
    • jobs/v2/system-test/quickstart.test.js
    • jobs/v3/system-test/auto-complete-sample.test.js
    • jobs/v3/system-test/basic-company-sample.test.js
    • jobs/v3/system-test/basic-job-sample.test.js
    • jobs/v3/system-test/commute-search-sample.test.js
    • jobs/v3/system-test/custom-attribute-sample.test.js
    • jobs/v3/system-test/email-alert-search-sample.test.js
    • jobs/v3/system-test/featured-job-search-sample.test.js
    • jobs/v3/system-test/general-search-sample.test.js
    • jobs/v3/system-test/histogram-sample.test.js
    • jobs/v3/system-test/location-search-sample.test.js
    • jobs/v3/system-test/quickstart.test.js
    • storage-transfer/system-test/transfer.test.js
    • storage-transfer/test/transfer.test.js
    • opencensus/system-test/metrics-quickstart.test.js
@fhinkel fhinkel changed the title Convert tests from ava to mocha Tracking issue: Convert tests from ava to mocha Jan 28, 2019
@fhinkel
Copy link
Contributor

fhinkel commented Mar 13, 2019

I think there are several folders in appengine missing, e.g., errorreporting.

@AVaksman
Copy link
Contributor Author

@fhinkel I think this issue can be closed.

@hiroshi
Copy link

hiroshi commented Apr 25, 2019

Hey,
The testing documentation, https://cloud.google.com/functions/docs/bestpractices/testing, is sill using ava, but the code is using mocha.
Image from Gyazo

Very confusing. Please update documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants