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
{{ message }}
Repository navigation
MCD: Move sets of functionality with side effects to clients to allow for unit testing #101
In #33 we identified that a major blocker for unittesting the MCD are all the side effects that occur from internal functions. The best way we came up with for getting around this limitation is to move things which cause side effects into clients. This issue is a tracker to link to as more of our items move over.
changed the title [-]Move more daemon items to clients to allow for testing[/-][+]MCD: Move sets of functionality with side effects to clients to allow for unit testing[/+]on Sep 28, 2018
For rpm-ostree we end up not having a whole lot of unit tests and heavily lean on "integration tests" which inject the built code into a VM. We're slowly adding some more unit tests since Rust makes it trivial but still...
I haven't hacked on this code really much myself yet, but I imagine we'd like to have a fairly fast iterative flow that tests something more "real" with live Ignition, rpm-ostree etc.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Activity
[-]Move more daemon items to clients to allow for testing[/-][+]MCD: Move sets of functionality with side effects to clients to allow for unit testing[/+]ashcrow commentedon Oct 4, 2018
/cc @kikisdeliveryservice @sdemos @jlebon for visibility
cgwalters commentedon Oct 4, 2018
For rpm-ostree we end up not having a whole lot of unit tests and heavily lean on "integration tests" which inject the built code into a VM. We're slowly adding some more unit tests since Rust makes it trivial but still...
I haven't hacked on this code really much myself yet, but I imagine we'd like to have a fairly fast iterative flow that tests something more "real" with live Ignition, rpm-ostree etc.
runcom commentedon Feb 11, 2019
now that we have e2e properly setup, let's go e2e for these kinds of testing as the abstraction just adds complexity (and has some bug as well)
openshift-bot commentedon Sep 2, 2020
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle stale
Merge pull request openshift#101 from gabemontero/fix-manifest-order