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

Fixes and interop testing #768

Merged
merged 5 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
4 changes: 3 additions & 1 deletion oid4vci/integration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ COPY pyproject.toml poetry.lock README.md ./
RUN poetry install --only main

# add tests to image
COPY sphereon_wrapper/* sphereon_wrapper/
COPY credo_wrapper/* credo_wrapper/
COPY tests/* tests/

ENTRYPOINT ["poetry", "run", "pytest"]
ENTRYPOINT ["poetry", "run", "pytest"]
23 changes: 23 additions & 0 deletions oid4vci/integration/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
# Integration testing for OID4VCI Plugin

## Integration Tests

This test suite runs against a test OID4VCI client.

## Interop Tests

This runs automated testing against Credo and Sphereon's OID4VCI Client library.


### Running interop tests

Create a `.env` file with the value `NGROK_AUTHTOKEN` set to your personal ngrok auth token.

An HTTPS endpoint is required for interop testing due to checks performed by the test targets.

Then start up the tests with:

```sh
./run_interop_tests
# Clean up
./run_interop_tests down
```
3 changes: 0 additions & 3 deletions oid4vci/integration/afj/.dockerignore

This file was deleted.

11 changes: 0 additions & 11 deletions oid4vci/integration/afj/.prettierrc

This file was deleted.

3 changes: 0 additions & 3 deletions oid4vci/integration/afj/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions oid4vci/integration/afj/package.json

This file was deleted.

98 changes: 0 additions & 98 deletions oid4vci/integration/afj/src/app.ts

This file was deleted.

20 changes: 0 additions & 20 deletions oid4vci/integration/afj_runner/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions oid4vci/integration/afj_runner/README.md

This file was deleted.

67 changes: 0 additions & 67 deletions oid4vci/integration/afj_runner/docker-compose.yml

This file was deleted.

Loading
Loading