@@ -215,6 +215,53 @@ module = [
215215]
216216ignore_missing_imports = true
217217
218+ [tool .pytest .ini_options ]
219+ markers = [
220+ # Test Type Markers
221+ # Tests are ordered from fastest to slowest
222+ " fast: fast tests (automatically applied if no type markers)" ,
223+ " slow: slow tests that typically involve interacting with a local DB (like DuckDB)" ,
224+ " docker: test that involves interacting with a Docker container" ,
225+ " remote: test that involves interacting with a remote DB" ,
226+ " cicdonly: test that only runs on CI/CD" ,
227+ " isolated: tests that need to run sequentially usually because they use fork" ,
228+
229+ # Test Domain Markers
230+ # default: core functionality
231+ " cli: test for CLI" ,
232+ " dbt: test for dbt adapter" ,
233+ " github: test for Github CI/CD bot" ,
234+ " jupyter: tests for Jupyter integration" ,
235+ " web: tests for web UI" ,
236+
237+ # Engine Adapters
238+ " engine: test all engine adapters" ,
239+ " athena: test for Athena" ,
240+ " bigquery: test for BigQuery" ,
241+ " clickhouse: test for Clickhouse (standalone mode / cluster mode)" ,
242+ " clickhouse_cloud: test for Clickhouse (cloud mode)" ,
243+ " databricks: test for Databricks" ,
244+ " duckdb: test for DuckDB" ,
245+ " motherduck: test for MotherDuck" ,
246+ " mssql: test for MSSQL" ,
247+ " mysql: test for MySQL" ,
248+ " postgres: test for Postgres" ,
249+ " redshift: test for Redshift" ,
250+ " snowflake: test for Snowflake" ,
251+ " spark: test for Spark" ,
252+ " trino: test for Trino (all connectors)" ,
253+ " risingwave: test for Risingwave"
254+ ]
255+ addopts = " -n 0 --dist=loadgroup"
256+ asyncio_default_fixture_loop_scope = " session"
257+ log_cli = false # Set this to true to enable logging during tests
258+ log_cli_format = " %(asctime)s.%(msecs)03d %(filename)s:%(lineno)d %(levelname)s %(message)s"
259+ log_cli_level = " INFO"
260+ filterwarnings = [
261+ " ignore:The localize method is no longer necessary, as this time zone supports the fold attribute"
262+ ]
263+ retry_delay = 10
264+
218265[tool .ruff .lint ]
219266select = [
220267 " F401" ,
0 commit comments