mirror of
https://github.com/restic/restic.git
synced 2026-04-01 10:52:46 +00:00
Compare commits
1 Commits
master
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5358101a3d |
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
|
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ The classical helpers for integration tests are, amongst others:
|
|||||||
- ``testListSnapshots(t, env.gopts, <n>)``: check that there are <n> snapshots in the repository
|
- ``testListSnapshots(t, env.gopts, <n>)``: check that there are <n> snapshots in the repository
|
||||||
- ``testRunCheck(t, env.gopts)``: check that the repository is sound and happy
|
- ``testRunCheck(t, env.gopts)``: check that the repository is sound and happy
|
||||||
- the above mentioned ``rtest.OK()``, ``rtest.Equals()``, ``rtest.Assert()`` helpers
|
- the above mentioned ``rtest.OK()``, ``rtest.Equals()``, ``rtest.Assert()`` helpers
|
||||||
- ``withCaptureStdout()`` and ``withTermStatus()`` wrappers: both functions are found in ``cmd/restic/integration_helpers_test.go`` for creating an environment where one can analyze the output created by the ``testRunXXX()`` command, particularly when checking JSON output
|
- ``withCaptureStdout()`` and ``withTermStatus()`` wrappers: both functions are found in ``cmd/restic/integration_helpers_test.go`` for creating an enviroment where one can analyze the output created by the ``testRunXXX()`` command, particularly when checking JSON output
|
||||||
|
|
||||||
Integration tests test the overall workings of a command. Integration tests are used for commands and
|
Integration tests test the overall workings of a command. Integration tests are used for commands and
|
||||||
are stored in the same directory ``cmd/restic``. The recommended naming convention is
|
are stored in the same directory ``cmd/restic``. The recommended naming convention is
|
||||||
|
|||||||
Reference in New Issue
Block a user