Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Replace existing binary rpm in tests with FakePkg #1105

Open
3 of 35 tasks
danigm opened this issue Aug 23, 2023 · 0 comments
Open
3 of 35 tasks

Replace existing binary rpm in tests with FakePkg #1105

danigm opened this issue Aug 23, 2023 · 0 comments

Comments

@danigm
Copy link
Member

danigm commented Aug 23, 2023

With the new testing framework it's possible to create FakePkg with metadata and files, so it's possible to replace binary rpm that are used just for testing simple functionality. This way it's possible to remove the number of binary files and it'll be easier to understand what the tests are doing.

Of course we cannot remove all the files inside test/binary/ because it's good test with real rpms, but a lot of tests are using small rpm created just to test a check and the sources of these rpm are not in the repository so it's hard to modify it, so any test that we can update to use FakePkg instead of binary rpm will be an improvement.

  • test_zypp_syntax.py
  • test_zip.py
  • test_xinetd.py
  • test_tmp_files.py
  • test_tags.py
  • test_sysvinitonsystemd.py
  • test_signature.py
  • test_readelf_parser.py
  • test_shlib_policy.py
  • test_python.py
  • test_pam_modules.py
  • test_pkgconfig.py
  • test_menuxdg.py
  • test_mixed_ownership.py
  • test_LSB.py
  • test_logrotate.py
  • test_lint.py
  • test_lib_dependency.py
  • test_icon_sizes.py
  • test_filter.py
  • test_files.py
  • test_FHS.py
  • test_erlang.py
  • test_duplicates.py
  • test_doc.py
  • test_diff.py
  • test_dbus_policy.py
  • test_config.py
  • test_config_files.py
  • test_build_date.py
  • test_binaries.py
  • test_bashisms.py
  • test_build_root.py
  • test_appdata.py
  • test_alternatives.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant