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