agera-edc / DataSpaceConnector

DataspaceConnector project
Apache License 2.0
1 stars 0 forks source link

Samples: 04.2-modify-transferprocess: add automated test in sample 04.2 #321

Closed pkirch closed 2 years ago

pkirch commented 2 years ago

What this PR changes/adds

This PR adds automated integration tests that run in CI to prevent the samples breaking due to changes in the EDC. The scope of this story is to add automated integration tests for sample 04.2.

Why it does that

Every step from sample readme is reproduced in the automated tests to reduce the risk from sample guidance diverging from actual code base.

Further notes

Linked Issue(s)

Closes #253

Checklist

github-actions[bot] commented 2 years ago

Unit Test Results

     304 files   - 123       304 suites   - 123   14m 35s :stopwatch: - 5m 52s 11 803 tests  - 659  11 793 :heavy_check_mark:  - 655  10 :zzz:  - 4  0 :x: ±0  11 852 runs   - 677  11 842 :heavy_check_mark:  - 673  10 :zzz:  - 4  0 :x: ±0 

Results for commit 8542d6a9. ± Comparison against base commit c817a949.

github-actions[bot] commented 2 years ago

Test Results

     432 files  +1       432 suites  +1   24m 16s :stopwatch: + 1m 32s 12 488 tests +1  12 474 :heavy_check_mark: +1  14 :zzz: ±0  0 :x: ±0  12 555 runs  +1  12 541 :heavy_check_mark: +1  14 :zzz: ±0  0 :x: ±0 

Results for commit f5aa4558. ± Comparison against base commit c0d0be5a.

:recycle: This comment has been updated with latest results.

codecov-commenter commented 2 years ago

Codecov Report

Merging #321 (ac4f9ee) into feature/1588-test-for-sample-042 (c0d0be5) will not change coverage. The diff coverage is n/a.

@@                        Coverage Diff                        @@
##           feature/1588-test-for-sample-042     #321   +/-   ##
=================================================================
  Coverage                             67.69%   67.69%           
=================================================================
  Files                                   779      779           
  Lines                                 16731    16731           
  Branches                               1051     1051           
=================================================================
  Hits                                  11326    11326           
  Misses                                 4923     4923           
  Partials                                482      482           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c0d0be5...ac4f9ee. Read the comment docs.