Skip to content
Snippets Groups Projects
  1. Jul 01, 2016
    • Masood Malekghassemi's avatar
      Make running individual Python tests less painful · 3b5b2068
      Masood Malekghassemi authored
      Before this change, running Python tests individually required
      building a tox environment via the run_tests script and then specifying
      long environment variables to filter out just the test we wanted to run
      (and then we wouldn't be able to get the output on interrupt, nor would
      we have an easy way of determining the PID of the process for debugger
      attachment). Now invoking the build_python.sh script creates a workable
      python virtual environment that includes all necessary libraries and
      tests (s.t. running a single test is now possible by just knowing the
      module name). This does not change existing supported means of running
      tests (e.g. through run_tests.py).
      
      An additional way of running individual tests has been introduced.
      Following invocation of `./tools/run_tests/build_python.sh` (or
      run_tests.py), one may invoke
      
        ./$VENV/bin/python -m $TEST_MODULE_NAME
      
      and acquire a single running process that *is* the test process (rather
      than a parent of the process). $VENV is the virtual environment name
      specified to `build_python.sh` (defaults to `py27`) and
      $TEST_MODULE_NAME is what it says on the tin.
      3b5b2068
    • Masood Malekghassemi's avatar
      Organize Python tests to use grpcio-tools directly · 1ff429da
      Masood Malekghassemi authored
      Moves all tests into a separate package. This does not change existing
      supported means of running tests (e.g. through run_tests.py).
      1ff429da
  2. Jun 10, 2016
    • Ken Payson's avatar
      Initial Python3 support · 1efb6017
      Ken Payson authored
      Notable Changes:
        -Convert all str types to byte types at cython layer (ascii encoding)
        -Use six for packages that have different names in Python2/Python3
        -By default, unit tests are compiled/run in Python2.7 and Python3.4
        -Ensure MACOSX_BUILD_TARGET is at least 10.7
      1efb6017
  3. Apr 27, 2016
  4. Mar 31, 2016
  5. Mar 24, 2016
    • Masood Malekghassemi's avatar
      Don't allow precompiled binaries in tests · 7d8ac466
      Masood Malekghassemi authored
      Before it was possible for precompiled binaries of the Cython layer to
      be downloaded during a test run if the metadata of the host machine's
      gRPC Python project matched the metadata of a file in cloud storage. Now
      we disallow this, and fix a bug where the relevant environment variable
      was ineffectual.
      7d8ac466
  6. Mar 10, 2016
  7. Mar 07, 2016
  8. Mar 03, 2016
  9. Jan 12, 2016
  10. Jan 11, 2016
  11. Jan 07, 2016
  12. Dec 05, 2015
  13. Dec 04, 2015
    • Masood Malekghassemi's avatar
      Make Python testing predictable again · 7566c9a8
      Masood Malekghassemi authored
      This reorganizes the Python code, scraps the current testing
      infrastructure, and implements a simple test discovery and run script
      based on the standard Python unittest library so we can trust that our
      tests are running.
      7566c9a8
  14. Oct 07, 2015
  15. Oct 06, 2015
  16. Oct 01, 2015
  17. Aug 26, 2015
  18. Aug 25, 2015
  19. Aug 21, 2015
  20. Aug 05, 2015
  21. Jul 31, 2015
  22. Jul 09, 2015
  23. May 22, 2015
  24. Mar 17, 2015
  25. Mar 06, 2015
  26. Mar 05, 2015
    • Craig Tiller's avatar
      Teach run_tests about individual Python tests · 49f61320
      Craig Tiller authored
      Allows:
      - running python tests in parallel
      - clearer Travis output
      - subjects each python test to the five minute run_tests timeout,
        instead of ALL the tests to the five minute timeout
      - easier benchmarking of which tests are slow
      49f61320
  27. Mar 02, 2015
  28. Feb 28, 2015
  29. Feb 27, 2015
  30. Feb 25, 2015
Loading