Profiles can override tests too
@@ -7,8 +7,9 @@ weight: 70
This page discusses Skaffold profiles.
-Skaffold profiles allow you to define build and deployment
-configurations for different contexts. Different contexts are typically different environments in your app's lifecycle, like Production or Development.
+Skaffold profiles allow you to define build, test and deployment
+configurations for different contexts. Different contexts are typically different
+environments in your app's lifecycle, like Production or Development.
You can create profiles in the `profiles` section of `skaffold.yaml`. For a
detailed discussion on Skaffold configuration,
@@ -17,18 +18,19 @@ see [Skaffold Concepts: Configuration](/docs/concepts/#configuration) and
## Profiles (`profiles`)
-Each profile has three parts:
+Each profile has four parts:
* Name (`name`): The name of the profile.
* Build configuration (`build`)
+* Test configuration (`test`)
* Deploy configuration (`deploy`)
-Once activated, the specified build and deploy configuration
-in the profile will override the `build` and `deploy` section declared
-in `skaffold.yaml`. The build and deploy configuration in the `profiles`
-section use the same syntax as the `build` and `deploy` section of
+Once activated, the specified `build`, `test` and `deploy` configuration
+in the profile will override the `build`, `test` and `deploy` sections declared
+in `skaffold.yaml`. The `build`, `test` and `deploy` configuration in the `profiles`
+section use the same syntax as the `build`, `test` and `deploy` sections of
`skaffold.yaml`; for more information, see [Builders](/docs/how-tos/builders),
-[Taggers](/docs/how-tos/taggers), and [Deployers](/docs/how-tos/deployers).
+[Testers](/docs/how-tos/testers), and [Deployers](/docs/how-tos/deployers).
You can activate a profile with the `-p` (`--profile`) parameter in the
`skaffold dev` and `skaffold run` commands.
