Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Merge requests
  • !328

Move all tests to test/unit folder

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Bruno de Paula Kinoshita requested to merge move-tests-to-tests-unit into master Mar 21, 2023
  • Overview 7
  • Commits 1
  • Pipelines 0
  • Changes 8

Had a note to myself to create a MR for this some day. Had 1 hour at the BSC before going home, and my brain was too tired to work on anything too complicated, so decided to tackle this one 😅

I saw a test file in our source directory some time ago, and even though some Python projects keep sources and tests together, we appear to have both this and also a separate directory for tests only. I think it makes more sense to use just one approach, and it's a lot simpler to move these few files out of our source and into the test/unit directory.

A few tests are being skipped, as it looks like devs were using actual experiments. These experiments are likely still in MN4, and we might be able to reverse-engineer what they do, and re-implement these tests in a more portable way, and include in our CICD pipeline.

There's one change in the source, so this might require some more thorough code review 👍

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: move-tests-to-tests-unit