You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 33 Next »

This page tracks the implementation status of RFC-215 and RFC-229, which cover unit testing conventions in Python. As you work on a package, you can claim it in the table below. Once the package has been migrated on master, you can check it off. If your package isn't listed here, please add it to the table.

RFC-215 - Getting issue details... STATUS

This RFC states that Python unit test modules should not be executable (i.e. "./test_mymodule.py" shouldn't run, but of course "python test_mymodule.py" should run). To implement this RFC:

  1. Remove the executable flag from Python test modules (e.g., "chmod -x ...").
  2. Remove the hash-bang line from Python test modules.

RFC-229 - Getting issue details... STATUS

This RFC states that Python unit test modules should be named with a "test_" prefix to enable automatic discovery by pytest. For example, "tests/testMyModule.py" should be renamed to "tests/test_myModule.py."

This is documented in the Python Unit Testing guide.

Status

StatusPackageDeveloperTicket
  •  

afw

Krzysztof Findeisen

DM-4639 - Getting issue details... STATUS (remove hash-bang) DM-10542 - Getting issue details... STATUS (other changes)

  •  
baseTim Jenness

DM-11514 - Getting issue details... STATUS

  •  

ci_hsc



  •  
coadd_chisquaredKrzysztof Findeisen

DM-11585 - Getting issue details... STATUS

  •  
coadd_utilsKrzysztof Findeisen

DM-11585 - Getting issue details... STATUS

  •  
ctrl_execute

  •  
ctrl_orca

  •  
ctrl_pool

  •  
ctrl_provenance

  •  
ctrl_stats

  •  
daf_baseKrzysztof Findeisen

DM-11585 - Getting issue details... STATUS

  •  
daf_fmt_mysql

No tests present

  •  
daf_ingestKrzysztof Findeisen

DM-11585 - Getting issue details... STATUS

  •  
daf_persistenceUnknown User (npease)

DM-10972 - Getting issue details... STATUS

  •  
display_ds9

  •  
display_firefly

  •  
geom

  •  
ip_diffim

  •  
ip_isr

  •  
jointcal
(already conforming)
  •  
log

DM-10871 - Getting issue details... STATUS

  •  
meas_algorithmsDM-5922
  •  
meas_astromDM-5922
  •  
meas_baseTim Jenness

DM-11514 - Getting issue details... STATUS

  •  
meas_deblender

  •  
meas_extensions_astrometryNet

  •  

meas_extensions_convolved



  •  
meas_extensions_ngmix

  •  
meas_extensions_photometryKron

  •  
meas_extensions_simpleShape

  •  
meas_modelfit

  •  
meas_moaic

  •  
obs_baseDM-5922
  •  
obs_cfhtDM-5922
  •  
obs_decamDM-5922
  •  
obs_file
No tests present
  •  
obs_lsstSimDM-5922
  •  
obs_monocam
No tests present
  •  
obs_sdssDM-5922
  •  
obs_subaruDM-5922
  •  
obs_testDM-5922
  •  
pex_config



  •  
pex_exceptions

DM-11585 - Getting issue details... STATUS

  •  
pex_logging

DM-11585 - Getting issue details... STATUS

  •  
pipe_base

DM-11585 - Getting issue details... STATUS

  •  
pipe_drivers


No tests present

  •  
pipe_supertasks

DM-10592 - Getting issue details... STATUS

  •  
pipe_tasksDM-5922
  •  
sconsUtils

  •  
shapeletTim Jenness

DM-7615 - Getting issue details... STATUS

  •  
skymapKrzysztof Findeisen

DM-11585 - Getting issue details... STATUS

  •  
sphgeomKrzysztof Findeisen

DM-11585 - Getting issue details... STATUS

  •  
utilsKrzysztof Findeisen

DM-11585 - Getting issue details... STATUS

  •  
validate_drp

DM-11585 - Getting issue details... STATUS

  •  
verify
  • No labels