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 an integration test #14

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Add an integration test #14

merged 2 commits into from
Apr 24, 2024

Conversation

djjuhasz
Copy link
Contributor

Integration test removing a ".DS_Store" file from a transfer in pre-processing.

Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.85%. Comparing base (ec3de02) to head (3996101).

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #14       +/-   ##
===========================================
+ Coverage   29.31%   48.85%   +19.54%     
===========================================
  Files           6        6               
  Lines         174      174               
===========================================
+ Hits           51       85       +34     
+ Misses        118       82       -36     
- Partials        5        7        +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@djjuhasz djjuhasz requested review from sevein and jraddaoui April 23, 2024 16:37
Copy link

@sevein sevein left a comment

Choose a reason for hiding this comment

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

Nice! Something I would include is a check to t.Skip the test unless an environment string is provided by the user. It's nice to have the ability to run quick tests only, e.g. tests that take milliseconds as opposed to seconds.

https://peter.bourgon.org/blog/2021/04/02/dont-use-build-tags-for-integration-tests.html

Add an integration test that removes a .DS_Store file from a transfer.
@djjuhasz djjuhasz force-pushed the dev/integration-test branch from d8244b3 to 55b5778 Compare April 23, 2024 20:56
Only run integration tests when ENDURO_PP_INTEGRATION_TEST is "true" to
avoid slow running (>1s) tests when they aren't necessary.
@djjuhasz djjuhasz merged commit cc1b1bb into main Apr 24, 2024
9 checks passed
@djjuhasz djjuhasz deleted the dev/integration-test branch April 24, 2024 19:20
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.

2 participants