rarebreed / quartermaster

0 stars 0 forks source link

Figure out how spies in jasmine works to allow for mocking #16

Open rarebreed opened 6 years ago

rarebreed commented 6 years ago

Right now, all of the tests in quartermaster are integration tests. They make real calls to cockpit, which then makes real calls to the RHSM DBus Objects.

For faster and more deterministic behavior, some of this functionality should be mocked out to provide unit testing rather than integration testing.