Skip to content

filedicts: unit test example#763

Merged
pgierz merged 4 commits intosprint/filedicts/mainfrom
sprint/filedicts/unit_test_example
Aug 8, 2022
Merged

filedicts: unit test example#763
pgierz merged 4 commits intosprint/filedicts/mainfrom
sprint/filedicts/unit_test_example

Conversation

@pgierz
Copy link
Member

@pgierz pgierz commented Aug 4, 2022

A minimal example for unit tests with a fake filesystem

Local Install and Test Instructions

  • git clone -b sprint/filedicts/unit_test_example https://github.com/esm-tools/esm_tools
  • cd esm_tools
  • pip install -e '.[test]' # <-- Also install test requirements
  • pytest -v

@pgierz pgierz requested review from denizural and mandresm August 4, 2022 08:36
@pgierz pgierz marked this pull request as ready for review August 5, 2022 09:34
@pgierz
Copy link
Member Author

pgierz commented Aug 5, 2022

The online CI is still broken, but you can follow the instructions above to do local tests. I wish everyone a productive sprint next week :-)

Copy link
Contributor

@denizural denizural left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 👏

@pgierz pgierz merged commit 8c26267 into sprint/filedicts/main Aug 8, 2022
@pgierz pgierz deleted the sprint/filedicts/unit_test_example branch August 8, 2022 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants