github.com/apache/beam/sdks/v2@v2.48.2/python/pytest.ini (about) 1 # 2 # Licensed to the Apache Software Foundation (ASF) under one or more 3 # contributor license agreements. See the NOTICE file distributed with 4 # this work for additional information regarding copyright ownership. 5 # The ASF licenses this file to You under the Apache License, Version 2.0 6 # (the "License"); you may not use this file except in compliance with 7 # the License. You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 # 17 18 [pytest] 19 junit_family = xunit2 20 21 # Disable class-name-based test discovery. 22 python_classes = 23 # Disable function-name-based test discovery. 24 python_functions = 25 # Discover tests using filenames. 26 # See conftest.py for extra collection rules. 27 python_files = test_*.py *_test.py *_test_py3*.py *_test_it.py 28 29 markers = 30 uses_gcp_java_expansion_service: collect Cross Language GCP Java transforms test runs 31 uses_java_expansion_service: collect Cross Language Java transforms test runs 32 uses_python_expansion_service: collect Cross Language Python transforms test runs 33 xlang_sql_expansion_service: collect for Cross Language with SQL expansion service test runs 34 it_postcommit: collect for post-commit integration test runs 35 it_postcommit_sickbay: collect for post-commit sickbay integration test run 36 it_validatesrunner: collect for ValidatesRunner integration test runs 37 spannerio_it : collect for Spanner IO IT test runs. 38 no_sickbay_streaming: run without sickbay-streaming 39 no_sickbay_batch: run without sickbay-batch 40 it_validatescontainer: collect for ValidatesContainer integration test runs 41 examples_postcommit: collect for post-commit test examples runs 42 sickbay_direct: run without sickbay-direct 43 sickbay_spark: run without sickbay-spark 44 sickbay_flink: run without sickbay-flink 45 sickbay_dataflow: run without sickbay-dataflow 46 # Tests using this marker conflict with the xdist plugin in some way, such 47 # as enabling save_main_session. 48 no_xdist: run without pytest-xdist plugin 49 # We run these tests with multiple major pyarrow versions (BEAM-11211) 50 uses_pyarrow: tests that utilize pyarrow in some way 51 # ML tests 52 uses_pytorch: tests that utilize pytorch in some way 53 uses_sklearn: tests that utilize scikit-learn in some way 54 uses_tensorflow: tests that utilize tensorflow in some way 55 uses_tft: tests that utilizes tensorflow transforms in some way. 56 uses_xgboost: tests that utilize xgboost in some way 57 uses_onnx: tests that utilizes onnx in some way. 58 uses_tf: tests that utilize tensorflow 59 60 # Default timeout intended for unit tests. 61 # If certain tests need a different value, please see the docs on how to 62 # specify: https://github.com/pytest-dev/pytest-timeout/ 63 timeout = 600