ipfs-inactive / dev-team-enablement

[ARCHIVED] Dev Team Enablement Working Group
3 stars 1 forks source link

Development flow/process with sharness in it's own repository #45

Open victorb opened 6 years ago

victorb commented 6 years ago

Now, with sharness in it's own repository, we need to figure out a development flow that works for everyone. The goal is to allow developers to make changes in sharness without having to update the implementations until they are ready. The idea is similar to how you decouple DB migrations and backend deployments from each other so they can be run when appropriate.

So the current thinking is some flow like this:

Goal of this issue is to come forward with a process that works for the teams involved (mainly go-ipfs, js-ipfs and rs-ipfs (when that happens))

cc @chriscool @travisperson @diasdavid @whyrusleeping

chriscool commented 6 years ago

If something was fixed as a bugfix (maybe the asserted hash was wrong), we should be able to fix it async from other fixes, as to not stop development. Changed tests needs to be marked somehow that they can now fail, but don't treat it as such

One hack would be to slightly change the test name, so that it looks like a different test (assuming we identify tests using their name).

whyrusleeping commented 6 years ago

+1 on separating out the sharness tests like this. Though, I strongly disagree that we should have CLI tests for javascript. Javascript doesnt need to be CLI compatible with go, and really, js-ipfs doesnt need a CLI. js-ipfs only runs as a daemon with an http api outside of the browser for testing purposes...

daviddias commented 6 years ago

Yeah, for sharness sake, we should use the go-ipfs cli with --api and point it a js-ipfs daemon.