You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current TestFixture.Ipfs implementation for running unit tests currently just creates an IpfsClient instance with the assumption of an IPFS local server to connect to. Update the test code to:
Download latest Kubo and run locally in loopback mode.
This part of Richard's tests always bothered me a bit. I noticed this the first time I ported his code over. It wasn't a simple fix, so I moved on and worked on developing tooling to make this easier.
I'm actually using that tooling in my own apps and unit tests, dogfooding it. Specifically, we'll want to make use of KuboDownloader and KuboBootstrapper if there's no HTTP API already running.
Note If our test project takes this new dependency, Arlodotexe/OwlCore.Kubo#3 gets a priority bump, but isn't required to close this ticket.
We're still doing various API cleanup to get us aligned with the most recent version of Kubo. Until we've finished fixing all remaining discrepancies, our unit tests won't fully pass.
When we've made more progress, we'll get Kubo bootstrapped and running as part of the tests, and run it in the CI.
The current
TestFixture.Ipfs
implementation for running unit tests currently just creates anIpfsClient
instance with the assumption of an IPFS local server to connect to. Update the test code to:Note this item will probably illuminate a lot of missing or out of date functionality. File incompatibilities as new issues.
The text was updated successfully, but these errors were encountered: