Commit 2c63f5a
8185 - Refactor test (Project-MONAI#8231)
Fixes Project-MONAI#8185
### Description
## Reorganize tests
I have looked at the imports in each test file and the test title to
identify which files were being tested. I mirrored the file structure of
MONAI on the `tests` folder and moved the files accordingly. I used some
helper scripts, but the process required substantial manual
intervention. When uncertain, I moved the tests to the `integration`
folder since the confusion always involved many imports, and I could not
find clarity from the test name.
Please review the integration folder carefully, which is the one that I
feel the least confident about.
```
### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not applicable items -->
- [x] Non-breaking change (fix or new feature that would not break existing functionality).
- [x] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`.
---------
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>
Signed-off-by: Rafael Garcia-Dias <rafaelagd@gmail.com>
Signed-off-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Rafael Garcia-Dias <rd24@lihe055-pc.isd.kcl.ac.uk>
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
Signed-off-by: Can-Zhao <volcanofly@gmail.com>1 parent dff1a4a commit 2c63f5a
File tree
840 files changed
+856
-795
lines changed- monai/transforms/io
- tests
- apps
- deepedit
- deepgrow
- transforms
- detection
- metrics
- networks
- utils
- maisi/networks
- nuclick
- pathology
- handlers
- transforms
- post
- reconstruction
- nets
- transforms
- vista3d
- bundle
- config
- data
- meta_tensor
- utils
- engines
- fl
- monai_algo
- utils
- handlers
- inferers
- integration
- losses
- deform
- image_dissimilarity
- metrics
- networks
- blocks
- dints_block
- warp
- layers
- filtering
- nets
- dints
- regunet
- schedulers
- utils
- optimizers
- profile_subclass
- transforms
- compose
- croppad
- functional
- intensity
- inverse
- post
- spatial
- transform
- utility
- utils
- utils
- enums
- misc
- type_conversion
- visualize
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
840 files changed
+856
-795
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
731 | | - | |
| 731 | + | |
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
| |||
740 | 740 | | |
741 | 741 | | |
742 | 742 | | |
743 | | - | |
| 743 | + | |
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
File renamed without changes.
File renamed without changes.
0 commit comments