Craig Tiller 66b14c125e Merge branch 'slice_interning' into eliminate_mdstr vor 9 Jahren
..
dockerize 53cba4a153 Merge pull request #8182 from matt-kwong/fix_docker_local_clone vor 9 Jahren
performance 1731a41cff Merge branch 'master' into node_express_run_perf_tests vor 9 Jahren
sanity 3cf79228ff Review feedback vor 9 Jahren
stress_test 7ed39a1ef1 PHP stress client in stress test framework vor 9 Jahren
README.md bf682f46f6 address comments vor 9 Jahren
antagonist.py ae4fbcd643 Use "#!/usr/bin/env python2.7" only in utilities vor 10 Jahren
artifact_targets.py aff6936cf7 Partially implement gRPC Python server reflection vor 9 Jahren
build_artifact_csharp.bat f551edf730 add missing copyrights to .bat files vor 9 Jahren
build_artifact_csharp.sh 29dadb2404 fix copyrights vor 10 Jahren
build_artifact_node.bat 50cc196a43 npm cache clean is not a good idea in the artifact build vor 9 Jahren
build_artifact_node.sh 12fd55587d Build Node 6 artifacts vor 9 Jahren
build_artifact_php.sh 96264c074f php: use real artifact name in jenkins test vor 9 Jahren
build_artifact_protoc.bat de9ce9f9ff remove dead gmock link in protoc artifact build vor 9 Jahren
build_artifact_protoc.sh e046f712c5 build protoc artifacts on mac and linux vor 9 Jahren
build_artifact_python.bat 5998cd760c Add Python3.5 artifact targets vor 9 Jahren
build_artifact_python.sh aff6936cf7 Partially implement gRPC Python server reflection vor 9 Jahren
build_artifact_ruby.sh 2cbc545f16 Load RVM on Linux too... vor 10 Jahren
build_csharp.sh 6169d5f7b0 Update copyrights vor 9 Jahren
build_csharp_coreclr.bat 1f7ce19d63 update path to C# test build by dotnet cli vor 9 Jahren
build_csharp_coreclr.sh 0a5a0cab7b build everything vor 9 Jahren
build_node.bat 60d38cbc1d Simplify Node Windows tests slightly vor 9 Jahren
build_node.sh 6169d5f7b0 Update copyrights vor 9 Jahren
build_package_node.sh d161f20a91 Don't get dependencies for Node grpc-health-check package build vor 9 Jahren
build_package_php.sh 5adb71fb9a php: simplify installation vor 9 Jahren
build_package_python.sh 3c6039222f add build_package collector targets for python and ruby vor 10 Jahren
build_package_ruby.sh 5d6d278791 fix building ruby package vor 9 Jahren
build_php.sh 6169d5f7b0 Update copyrights vor 9 Jahren
build_python.sh a12e6d8037 Merge pull request #8367 from soltanmm-google/blurb vor 9 Jahren
build_python_msys2.sh cab9d4f74b Make Python tests run on Windows vor 9 Jahren
build_ruby.sh 6169d5f7b0 Update copyrights vor 9 Jahren
build_stats_schema.json bf3b769bd2 Tool for collecting build statistics. vor 9 Jahren
build_stats_schema_no_matrix.json 983c2dad44 Fix build analysis dashboard vor 9 Jahren
configs.json 9780f59a06 Merge github.com:grpc/grpc into signal_handler vor 9 Jahren
distribtest_targets.py b809cd9f99 dotnet CLI distribtest vor 9 Jahren
dockerjob.py 0589e533cd Make testing toolchain python 3.x compliant vor 9 Jahren
filter_pull_request_tests.py fe1bcd9915 Remove sanity test filtering vor 9 Jahren
interop_html_report.template b9e66cc551 Added test cases for Cloud gateway. vor 10 Jahren
jobset.py 5c691c634d Enable pull request test filtering vor 9 Jahren
package_targets.py 8a84c8c9df allow building all nugets on linux vor 9 Jahren
port_server.py 0589e533cd Make testing toolchain python 3.x compliant vor 9 Jahren
post_tests_c.sh 5dd93dae93 Coverage improvements vor 10 Jahren
post_tests_csharp.bat f551edf730 add missing copyrights to .bat files vor 9 Jahren
post_tests_csharp.sh 38ed2cfdb5 teach run_tests how to run C# tests with NUnitLite vor 9 Jahren
post_tests_php.sh 6169d5f7b0 Update copyrights vor 9 Jahren
post_tests_ruby.sh 6169d5f7b0 Update copyrights vor 9 Jahren
pre_build_c.bat f551edf730 add missing copyrights to .bat files vor 9 Jahren
pre_build_csharp.bat f785ae38c9 fix windows distribtest and add TODOs to remove hacks vor 9 Jahren
pre_build_csharp.sh f785ae38c9 fix windows distribtest and add TODOs to remove hacks vor 9 Jahren
pre_build_node.bat ebf882070e Decrease Node module cache time to avoid errors with out-of-date modules vor 9 Jahren
pre_build_node.sh ebf882070e Decrease Node module cache time to avoid errors with out-of-date modules vor 9 Jahren
pre_build_ruby.sh 5b4a9348f8 run bundle install from repo root vor 9 Jahren
prepare_travis.sh 43e5f5663f Various Jenkins-related tweaks. vor 10 Jahren
report_utils.py 5c691c634d Enable pull request test filtering vor 9 Jahren
run_build_statistics.py 983c2dad44 Fix build analysis dashboard vor 9 Jahren
run_interop_tests.py 7fc1d4e8d7 Update infrastructure to call new unimplemented_service interop test vor 9 Jahren
run_lcov.sh 38d02d8974 run_lcov.sh fix vor 10 Jahren
run_node.bat 4913ea06eb Ensure node and npm are in the path when running tests vor 9 Jahren
run_node.sh a3a9d0685e Merge branch 'master' into node_coverage_report_fix vor 9 Jahren
run_performance_tests.py 94d40cbd5a make benchmarks create report.xml vor 9 Jahren
run_python.sh 3b5b20682b Make running individual Python tests less painful vor 9 Jahren
run_ruby.sh d7e1a10628 Bundled C core with Ruby library vor 10 Jahren
run_stress_tests.py 0589e533cd Make testing toolchain python 3.x compliant vor 9 Jahren
run_tests.py e6684f415e Remove legacy poller vor 9 Jahren
run_tests_in_workspace.sh 4251945f16 save time when creating matrix workspaces on win and mac vor 9 Jahren
run_tests_matrix.py 7b16bbe5cc Merge pull request #8706 from matt-kwong/pull-request-params vor 9 Jahren
sources_and_headers.json 66b14c125e Merge branch 'slice_interning' into eliminate_mdstr vor 9 Jahren
task_runner.py 0589e533cd Make testing toolchain python 3.x compliant vor 9 Jahren
tests.json 1016d9feca Merge github.com:grpc/grpc into bm_fullstack vor 9 Jahren
watch_dirs.py c2c792113e Add copyrights to Python code vor 11 Jahren

README.md

#Overview

This directory contains scripts that facilitate building and running tests. We are using python scripts as entrypoint for our tests because that gives us the opportunity to run tests using the same commandline regardless of the platform you are using.

#Unit tests (run_tests.py)

Builds gRPC in given language and runs unit tests. Use tools/run_tests/run_tests.py --help for more help.

######Example tools/run_tests/run_tests.py -l csharp -c dbg

######Useful options (among many others)

  • --use_docker Builds a docker container containing all the prerequisites for given language and runs the tests under that container.
  • --build_only Only build, do not run the tests.

#Interop tests (run_interop_tests.py)

Runs tests for cross-platform/cross-language interoperability. For more details, see Interop tests descriptions The script is also capable of running interop tests for grpc-java and grpc-go, using sources checked out alongside the ones of the grpc repository.

######Example tools/run_tests/run_interop_tests.py -l csharp -s c++ --use_docker (run interop tests with C# client and C++ server)

#Performance benchmarks (run_performance_tests.py)

Runs predefined benchmark scenarios for given languages. Besides the simple configuration of running all the scenarios locally, the script also supports orchestrating test runs with client and server running on different machines and uploading the results to BigQuery.

######Example tools/run_tests/run_peformance_tests.py -l c++ node

######Useful options

  • --regex use regex to select particular scenarios to run.

#Stress tests (run_stress_tests.py)

Runs modified interop tests clients and servers under heavy load for an extended period of time to discover potential stability issues. The tests are internally using Kubernetes to run the client and server on GKE and upload statistics to BigQuery.

tools/run_tests/stress_test/run_on_gke.py --gcp_project_id=<google-cloud-platform-project-id> --config_file=<path-to-config-file>

The directory tools/run_tests/stress_test/configs/ contains the config files for several scenarios

#Artifacts & Packages (task_runner.py)

A generalized framework for running predefined tasks based on their labels. We use this to building binary artifacts & distrib packages and testing them)

######Example tools/run_tests/task_runner.py -f python artifact linux x64 (build tasks with labels python, artifact, linux, and x64)