diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 32d305ff0e..16f04c7cc2 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -39,7 +39,13 @@ Execute unit tests by running one of the sessions prefixed with `unit-`. bazel test //tests/integration:asset ``` -- Update goldens files. This overwrites the golden files in +- Run integration tests for all APIs. + + ```sh + bazel test //tests/integration:all + ``` + +- Update all goldens files. This overwrites the golden files in `tests/integration/goldens/`. ```sh diff --git a/tests/integration/goldens/asset/noxfile.py b/tests/integration/goldens/asset/noxfile.py index e473409126..15e4549032 100644 --- a/tests/integration/goldens/asset/noxfile.py +++ b/tests/integration/goldens/asset/noxfile.py @@ -70,7 +70,7 @@ def cover(session): @nox.session(python=['3.6', '3.7']) def mypy(session): """Run the type checker.""" - session.install('mypy') + session.install('mypy', 'types-pkg_resources') session.install('.') session.run( 'mypy', diff --git a/tests/integration/goldens/credentials/noxfile.py b/tests/integration/goldens/credentials/noxfile.py index 7d27f4d101..a72fb423c0 100644 --- a/tests/integration/goldens/credentials/noxfile.py +++ b/tests/integration/goldens/credentials/noxfile.py @@ -70,7 +70,7 @@ def cover(session): @nox.session(python=['3.6', '3.7']) def mypy(session): """Run the type checker.""" - session.install('mypy') + session.install('mypy', 'types-pkg_resources') session.install('.') session.run( 'mypy', diff --git a/tests/integration/goldens/logging/noxfile.py b/tests/integration/goldens/logging/noxfile.py index 4a78a7f99e..10ed0a998e 100644 --- a/tests/integration/goldens/logging/noxfile.py +++ b/tests/integration/goldens/logging/noxfile.py @@ -70,7 +70,7 @@ def cover(session): @nox.session(python=['3.6', '3.7']) def mypy(session): """Run the type checker.""" - session.install('mypy') + session.install('mypy', 'types-pkg_resources') session.install('.') session.run( 'mypy', diff --git a/tests/integration/goldens/redis/noxfile.py b/tests/integration/goldens/redis/noxfile.py index 5b0d60db00..93380724fe 100644 --- a/tests/integration/goldens/redis/noxfile.py +++ b/tests/integration/goldens/redis/noxfile.py @@ -70,7 +70,7 @@ def cover(session): @nox.session(python=['3.6', '3.7']) def mypy(session): """Run the type checker.""" - session.install('mypy') + session.install('mypy', 'types-pkg_resources') session.install('.') session.run( 'mypy',