Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Even more utils tests #148

Merged
merged 5 commits into from
Mar 20, 2018
Merged

Even more utils tests #148

merged 5 commits into from
Mar 20, 2018

Conversation

allenh1
Copy link
Contributor

@allenh1 allenh1 commented Mar 19, 2018

$ coverage run --source=superflore -m nose && coverage report -m
........................................................
----------------------------------------------------------------------
Ran 56 tests in 14.888s

OK
Name                                               Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------------
superflore/CacheManager.py                            20      0   100%
superflore/PackageMetadata.py                         22      0   100%
superflore/TempfileManager.py                         34      6    82%   48-56
superflore/__init__.py                                10      4    60%   5-8
superflore/docker.py                                  78     23    71%   42, 56-69, 75, 93-95, 102, 107-108, 119-127
superflore/exceptions.py                              18      2    89%   33, 38
superflore/generate_installers.py                     63      0   100%
superflore/generators/__init__.py                      0      0   100%
superflore/generators/bitbake/__init__.py              3      1    67%   3
superflore/generators/bitbake/gen_packages.py        102     79    23%   40-122, 129-168, 175-183, 189
superflore/generators/bitbake/ros_meta.py             27     18    33%   24-27, 30-35, 38-51, 54-55
superflore/generators/bitbake/run.py                 113     90    20%   43-187
superflore/generators/bitbake/yocto_recipe.py        120    100    17%   44-67, 70, 73-77, 80-92, 95-99, 102-104, 107-108, 116-119, 128-187
superflore/generators/ebuild/__init__.py               3      1    67%   3
superflore/generators/ebuild/ebuild.py               185     19    90%   96-99, 126-131, 146, 176-180, 186, 193, 206-210
superflore/generators/ebuild/gen_packages.py         140    113    19%   46-119, 125-137, 143-188, 193-210, 213, 216
superflore/generators/ebuild/metadata_xml.py          33      0   100%
superflore/generators/ebuild/overlay_instance.py      35     24    31%   26-31, 34-45, 50-69, 72-73
superflore/generators/ebuild/run.py                  121     95    21%   48-188, 192-196
superflore/parser.py                                  13      0   100%
superflore/repo_instance.py                           70     51    27%   29-49, 56-65, 68-76, 82-83, 89, 95-96, 102, 105-120, 123
superflore/rosdep_support.py                          34      2    94%   83-84
superflore/test_integration/__init__.py                0      0   100%
superflore/test_integration/gentoo/__init__.py         3      1    67%   3
superflore/test_integration/gentoo/build_base.py      28     19    32%   26-28, 33, 38-54
superflore/test_integration/gentoo/main.py            32     26    19%   24-80
superflore/utils.py                                  191     32    83%   62-65, 69-84, 88-99, 116, 229, 233, 235, 237, 239, 241, 243, 245, 247
--------------------------------------------------------------------------------
TOTAL                                               1498    706    53%

This also includes an important fix for the PR text. Not sure when exactly it got pulled in, or how I didn't notice it, but it's a rather obvious bug fix.

@allenh1 allenh1 merged commit 4d1f152 into master Mar 20, 2018
@allenh1 allenh1 deleted the even-more-utils-tests branch March 20, 2018 03:14
zffgithub pushed a commit to zffgithub/superflore that referenced this pull request Apr 11, 2023
* Add missing return statements

* Fix import order and add get_pr_text test.

* Add tests for clean_up function.

* Add missing license tests.

* Add test for resolve_dep with os='oe'.
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants