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

Add OS migration tests. #6792

Draft
wants to merge 41 commits into
base: master
Choose a base branch
from
Draft

Add OS migration tests. #6792

wants to merge 41 commits into from

Commits on Nov 14, 2023

  1. Add OS migration tests.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    5ae5d7f View commit details
    Browse the repository at this point in the history
  2. Update tests for "Refactoring: add OperationItem class."

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    4291fd5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    193602a View commit details
    Browse the repository at this point in the history
  4. Fix test for "Fix column mapping.".

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    e267110 View commit details
    Browse the repository at this point in the history
  5. Adapt tests to "Fix indexing.".

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    33247c3 View commit details
    Browse the repository at this point in the history
  6. Update fixture objects in test.

    Access to fixture objects is done over a lookup table containing
    the object's path, so won't work anymore after an object is moved
    or it's title changed.
    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    884ff8f View commit details
    Browse the repository at this point in the history
  7. Add tests for individual operations in repository migration.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    6913b2a View commit details
    Browse the repository at this point in the history
  8. Add tests for migration preconditions.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    fd39e1c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dfea207 View commit details
    Browse the repository at this point in the history
  10. Add tests for creation of repository folder in created repository fol…

    …der.
    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    56aff3c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5b7c510 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    892fe50 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    04d44a6 View commit details
    Browse the repository at this point in the history
  14. Add test for moving a repofolder into a moved repofolder.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    82d4cf4 View commit details
    Browse the repository at this point in the history
  15. Add tests for migrator validation.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    7e468c3 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4d87f08 View commit details
    Browse the repository at this point in the history
  17. Update tests for also checking leaf node principle for created repofo…

    …lders.
    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    7a5538d View commit details
    Browse the repository at this point in the history
  18. Add tests for precondition checks of RepositoryMigrator.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0e6b4b8 View commit details
    Browse the repository at this point in the history
  19. Test that tasks get synced correctly during migration.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    5dfa0ea View commit details
    Browse the repository at this point in the history
  20. Add tests for permission update during migration.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    a9e1731 View commit details
    Browse the repository at this point in the history
  21. Adapt tests for skipping invalid rows.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    18e70fe View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    9a7e661 View commit details
    Browse the repository at this point in the history
  23. Add tests for merging repofolder into another one.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    e12fa40 View commit details
    Browse the repository at this point in the history
  24. Fix error logging tests.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    e3d651e View commit details
    Browse the repository at this point in the history
  25. Adapt os migration tests to new namings.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    09fcccf View commit details
    Browse the repository at this point in the history
  26. Adapt test assets to new Excel format and required completeness.

    We now also require that the migration excel is complete, i.e. all
    positions are in the excel.
    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    2fa9138 View commit details
    Browse the repository at this point in the history
  27. Adapt tests for new fields in the operations list.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0690fa3 View commit details
    Browse the repository at this point in the history
  28. Make sure tests are run in German.

    If the default language is english, now that we have an title_en
    field, changing the title_de will not change the path anymore. So
    we need to make sure to run the tests with "de" as default language.
    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    44bfcaf View commit details
    Browse the repository at this point in the history
  29. Data inconsistency in catalog does not lead to migration failure anym…

    …ore.
    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    cffe1bf View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    e2bc4cc View commit details
    Browse the repository at this point in the history
  31. Test against new opengever.maintenance branch.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    d585bfa View commit details
    Browse the repository at this point in the history
  32. Update tests to accomodate new logging in repo migration script.

    When moving data extraction to its own method, we also added a new
    logging entry. Dito when adding the new PositionsMapping.
    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    66342e4 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    e290d2f View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    0f9e103 View commit details
    Browse the repository at this point in the history
  35. Adapt tests to new operation attributes.

    We also take that chance to improve maintainability of the tests
    by extracting default values of the attributes in default_data.
    This avoids a lot of repetition of these values in the tests so
    that they don't have to be updated everywhere when attributes
    change.
    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    6d52d3c View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    fe7b5da View commit details
    Browse the repository at this point in the history
  37. Adapt tests to handling of metadata and permissions.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    081e99f View commit details
    Browse the repository at this point in the history
  38. Add test that permissions are updated correctly.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    6e35fff View commit details
    Browse the repository at this point in the history
  39. Add test that refnum mapping is correct after OS migration.

    Niklaus Johner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    7fce369 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    28b5f06 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Switch opengever.maintenance branch back to master.

    Niklaus Johner committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    eacc040 View commit details
    Browse the repository at this point in the history