MODFLOW-USGS / modflow-devtools

Python tools for MODFLOW 6 development
https://modflow-devtools.readthedocs.io/en/latest/
Other
2 stars 5 forks source link

feat(fixtures): add --tabular pytest CLI arg and corresponding fixture #116

Closed wpbonelli closed 1 year ago

wpbonelli commented 1 year ago

Followup on #112, introduce tabular fixture with --tabular CLI arg accepting raw, recarray, or dataframe. The previously introduced use_pandas fixture can condition whether the module under test uses pandas for internal work, the tabular fixture can select how input data is provided, leaving open the possibility for alternative representations in future