Hexagonal Architecture
- Add new domains around
repo,inboxandidentity - Each domain has:
- One
Servicestruct that is the public facing API for that domain. - One or multiple traits that we are able to implement in the mentioned
Servicestruct. - A
modelsmodule where we store structs, traits and implementations aroun that domain.
- One
- The
Servicestructs use theoutboundmodules to use different types of implementations likeSqliteorRadicleto talk to the outside.
New e2e tests
There are no fixtures anymore (for now). Each tests is started with a blank page where:
test-http-apiprocess is started- fresh
ssh-agentprocess is started - New Radicle identity is created.
- New repo created
And finally the changes applied that we want to test for.
In some cases we start a node for cloning a repo and then stop it too. 8 tests (where there are multiple sub tests take around 23.0 s for me so far.)
Written tests so far:
- issues (creation, lifecycle, threads, reactions)
- patches (creation, lifecycle, threads, reactions, revisions)
- theme
- onboarding (identity creation, validation)
- clipboard
CI
๐ Workflow runs ๐ Branch on GitHub
Hexagonal Architecture
- Add new domains around
repo,inboxandidentity - Each domain has:
- One
Servicestruct that is the public facing API for that domain. - One or multiple traits that we are able to implement in the mentioned
Servicestruct. - A
modelsmodule where we store structs, traits and implementations aroun that domain.
- One
- The
Servicestructs use theoutboundmodules to use different types of implementations likeSqliteorRadicleto talk to the outside.
New e2e tests
There are no fixtures anymore (for now). Each tests is started with a blank page where:
test-http-apiprocess is started- fresh
ssh-agentprocess is started - New Radicle identity is created.
- New repo created
And finally the changes applied that we want to test for.
In some cases we start a node for cloning a repo and then stop it too. 8 tests (where there are multiple sub tests take around 23.0 s for me so far.)
Written tests so far:
- issues (creation, lifecycle, threads, reactions)
- patches (creation, lifecycle, threads, reactions, revisions)
- theme
- onboarding (identity creation, validation)
- clipboard
CI
๐ Workflow runs ๐ Branch on GitHub
Rebase and make tests pretty stable
Left some inline comments.