MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / run_testsuit

Function run_testsuit

tests/min_tests.py:20–236  ·  view source on GitHub ↗

Load test cases by excluding those need external dependencies. The loaded cases should work with "requirements-min.txt":: # in the monai repo folder: pip install -r requirements-min.txt QUICKTEST=true python -m tests.min_tests :return: a test suite

()

Source from the content-addressed store, hash-verified

18
19
20def run_testsuit():
21 """
22 Load test cases by excluding those need external dependencies.
23 The loaded cases should work with "requirements-min.txt"::
24
25 # in the monai repo folder:
26 pip install -r requirements-min.txt
27 QUICKTEST=true python -m tests.min_tests
28
29 :return: a test suite
30 """
31 exclude_cases = [ # these cases use external dependencies
32 "test_ahnet",
33 "test_arraydataset",
34 "test_auto3dseg_bundlegen",
35 "test_auto3dseg_ensemble",
36 "test_auto3dseg_hpo",
37 "test_auto3dseg",
38 "test_bundle_onnx_export",
39 "test_bundle_trt_export",
40 "test_bundle_push_to_hf_hub",
41 "test_cachedataset",
42 "test_cachedataset_parallel",
43 "test_cachedataset_persistent_workers",
44 "test_cachentransdataset",
45 "test_check_missing_files",
46 "test_compute_f_beta",
47 "test_compute_ho_ver_maps",
48 "test_compute_ho_ver_maps_d",
49 "test_compute_panoptic_quality",
50 "test_contrastive_loss",
51 "test_convert_to_onnx",
52 "test_convert_to_trt",
53 "test_csv_dataset",
54 "test_csv_iterable_dataset",
55 "test_cumulative_average_dist",
56 "test_sampler_dist",
57 "test_dataset",
58 "test_dataset_summary",
59 "test_deepedit_transforms",
60 "test_deepedit_interaction",
61 "test_deepgrow_dataset",
62 "test_deepgrow_interaction",
63 "test_deepgrow_transforms",
64 "test_detect_envelope",
65 "test_dints_network",
66 "test_distance_transform_edt",
67 "test_efficientnet",
68 "test_ensemble_evaluator",
69 "test_ensure_channel_first",
70 "test_ensure_channel_firstd",
71 "test_fill_holes",
72 "test_fill_holesd",
73 "test_foreground_mask",
74 "test_foreground_maskd",
75 "test_global_mutual_information_loss",
76 "test_grid_patch",
77 "test_gmm",

Callers 1

min_tests.pyFile · 0.85

Calls 3

splitMethod · 0.80
removeMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…