Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • repod repod
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • repodrepod
  • Issues
  • #9
Closed
Open
Issue created Mar 18, 2021 by David Runge@dvzrv🐿Developer

Add integration tests for db2json - json2db

With db2json and json2db as the first script entrypoints we can now start with small integration tests. A low-hanging fruit would be to use db2json to convert all sync databases in a container to the respective set of JSON files and then use json2db to re-create the databases again (in a temporary location).

Ideally we would then make use of pacman's DBPath (see man 5 pacman.conf) to test whether pacman plays nice with the created dbs (e.g. by searching for files and/or trying to install things).

Using pytest's mark, we can specifically mark the described tests as integration.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking