Algunos productos y funciones están en proceso de cambiar de nombre. Las funciones de flujo y de la guía generativa también se migrarán a una sola consola consolidada. Consulta los detalles.
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
La función de pruebas continuas ejecuta de forma automática un conjunto de casos de prueba configurados para un entorno a fin de verificar el comportamiento deseado de las versiones del flujo en ese entorno.
A fin de evitar que una versión incorrecta se publique en el entorno, también puedes usar la implementación continua para ejecutar el mismo conjunto de pruebas de verificación antes de implementar una versión del flujo en el entorno.
Administra la implementación y las pruebas continuas
Para administrar las pruebas y la implementación continuas, haz lo siguiente:
Selecciona un entorno del menú desplegable Nombre del entorno.
Haz clic en la pestaña Pruebas continuas. La pestaña Casos de prueba se abre de forma predeterminada.
En el menú desplegable Seleccionar casos de prueba, selecciona un caso de prueba predefinido para agregar al conjunto de prueba continua.
En la pestaña Configuración, el botón de activación Prueba continua debe estar activado de forma predeterminada.
Para agregar una implementación continua, haz clic en el botón de activar o desactivar Implementación continua.
Para ver los resultados de las pruebas continuas diarias de un entorno, haz clic en la pestaña Pruebas continuas y, luego, en Resultados.
Para ver si las pruebas continuas están habilitadas para un entorno, haz clic en Entornos en la pestaña Administrar. Para cada entorno, el estado de la prueba continua se encuentra en la columna Prueba continua.
API
Consulta los métodos runContinuousTest y deployFlow para el tipo Environments.
Selecciona un protocolo y una versión para la referencia del entorno:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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"]]