mirror of https://github.com/knative/client.git
Selectively run e2e tests for serving, eventing (#547)
- Run only serving specific e2e tests locally ``` E2E_TAGS="serving" ./test/e2e-tests-local.sh ``` - Run only eventing specific e2e tests locally ``` E2E_TAGS="eventing" ./test/e2e-tests-local.sh ``` - Run all e2e tests locally ``` ./test/e2e-tests-local.sh ```
This commit is contained in:
parent
4128022fb7
commit
2c1e5dc88d
|
|
@ -26,4 +26,4 @@ echo "📋 Formatting"
|
||||||
go fmt ${base}/test/e2e/...
|
go fmt ${base}/test/e2e/...
|
||||||
|
|
||||||
echo "🧪 Testing"
|
echo "🧪 Testing"
|
||||||
go test ${base}/test/e2e/ -test.v --tags 'e2e' "$@"
|
go test ${base}/test/e2e/ -test.v -tags "e2e ${E2E_TAGS}" "$@"
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build e2e
|
// +build e2e
|
||||||
|
// +build !eventing
|
||||||
|
|
||||||
package e2e
|
package e2e
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build e2e
|
// +build e2e
|
||||||
|
// +build !eventing
|
||||||
|
|
||||||
package e2e
|
package e2e
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build e2e
|
// +build e2e
|
||||||
|
// +build !eventing
|
||||||
|
|
||||||
package e2e
|
package e2e
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build e2e
|
// +build e2e
|
||||||
|
// +build !eventing
|
||||||
|
|
||||||
package e2e
|
package e2e
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build e2e
|
// +build e2e
|
||||||
|
// +build !eventing
|
||||||
|
|
||||||
package e2e
|
package e2e
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build e2e
|
// +build e2e
|
||||||
|
// +build !serving
|
||||||
|
|
||||||
package e2e
|
package e2e
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build e2e
|
// +build e2e
|
||||||
|
// +build !eventing
|
||||||
|
|
||||||
package e2e
|
package e2e
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue