Beberapa produk dan fitur sedang dalam proses penggantian nama. Fitur playbook dan alur generatif juga dimigrasikan ke satu konsol gabungan. Lihat detailnya.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Fitur pengujian berkelanjutan secara otomatis menjalankan serangkaian kasus pengujian yang dikonfigurasi untuk lingkungan guna memverifikasi perilaku yang diinginkan dari versi alur di lingkungan tersebut.
Untuk mencegah versi yang buruk menjadi aktif di lingkungan, Anda juga dapat menggunakan
deployment berkelanjutan untuk menjalankan serangkaian pengujian verifikasi yang sama sebelum men-deploy
versi alur ke lingkungan.
Mengelola pengujian dan deployment berkelanjutan
Untuk mengelola pengujian dan deployment berkelanjutan:
Pilih lingkungan dari menu dropdown Nama lingkungan.
Klik tab Pengujian berkelanjutan. Tab Test Case akan terbuka secara default.
Di dropdown Pilih kasus pengujian, pilih kasus pengujian yang telah ditentukan sebelumnya untuk ditambahkan ke set pengujian berkelanjutan.
Di tab Setelan, tombol Pengujian berkelanjutan harus aktif secara default.
Untuk menambahkan deployment berkelanjutan, klik tombol Continuous deployment.
Untuk melihat hasil pengujian berkelanjutan harian untuk suatu lingkungan, klik tab Pengujian berkelanjutan, lalu Hasil.
Untuk melihat apakah pengujian berkelanjutan diaktifkan untuk suatu lingkungan, klik
Lingkungan di tab Kelola. Untuk setiap lingkungan, status pengujian berkelanjutan ada di kolom Pengujian Berkelanjutan.
API
Lihat metode runContinuousTest dan deployFlow untuk jenis Environments.
Pilih protokol dan versi untuk referensi Lingkungan:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003ePre-GA offerings, including these features, are subject to the "Pre-GA Offerings Terms" and are provided "as is" with potentially limited support.\u003c/p\u003e\n"],["\u003cp\u003eContinuous tests automatically verify the behavior of flow versions in an environment by running a set of configured test cases.\u003c/p\u003e\n"],["\u003cp\u003eContinuous deployment can be used to automatically run the same verification tests before deploying a flow version to prevent deploying bad versions.\u003c/p\u003e\n"],["\u003cp\u003eContinuous tests and deployments can be managed through the Dialogflow CX console's CI/CD section, allowing users to add test cases and toggle the continuous test and continuous deployment on or off.\u003c/p\u003e\n"],["\u003cp\u003eThe status of the continuous testing and the results of the daily tests can be found in the console or through the \u003ccode\u003erunContinuousTest\u003c/code\u003e and \u003ccode\u003edeployFlow\u003c/code\u003e methods in the API.\u003c/p\u003e\n"]]],[],null,["# Continuous tests and deployment\n\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThe *continuous tests* feature automatically runs a set of test cases configured\nfor an environment to verify the intended behavior of the flow versions in that\nenvironment.\n\nTo prevent a bad version from becoming live in the environment, you can also use\n*continuous deployment* to run the same set of verification tests before deploying\na flow version to the environment.\n\nManage continuous tests and deployment\n--------------------------------------\n\nTo manage continuous tests and deployment: \n\n### Console\n\n1. Open the [Dialogflow CX console](https://dialogflow.cloud.google.com/cx/projects).\n\n2. Choose your GCP project.\n\n3. Select your agent.\n\n4. Click the **Manage** tab.\n\n5. Click **CI/CD**.\n\n6. Select an environment from the **Environment name** dropdown menu.\n\n7. Click the **Continuous tests** tab. The **Test Cases** tab opens by default.\n\n8. In the **Select test cases** dropdown, select a predefined test case to add\n to the continuous testing set.\n\n9. In the **Settings** tab, the **Continuous test** toggle should be on by default.\n To add continuous deployment, click the **Continuous deployment** toggle.\n\nTo view the results of daily continuous tests for an environment, click the\n**Continuous tests** tab, then **Results**.\n\nTo view whether continuous testing is enabled for an environment, click\n**Environments** under the **Manage** tab. For each environment, the continuous\ntesting status is under the **Continuous Test** column.\n\n### API\n\nSee the `runContinuousTest` and `deployFlow` methods for the `Environments` type.\n\n\nGo to the Environment API reference \n**Select a protocol and version for the Environment reference:**\n\nClose\n\n\u003cbr /\u003e"]]