nucleus
nucleus copied to clipboard
Simplify and revise Testing
The current testing structure is very complex. Especially the adapter tests use so many dependencies and complex helpers (11 files). Maybe we can clean this up a bit and make it easier to understand and use for developers. We should also document it a little more if we need to keep it this way.
Additional restriction I'd like to remove if possible:
You must be allowed to create at least 3 additional applications with your account, otherwise the quota restrictions will invalidate the test results
Maybe we can also drop the 3 applications quota restriction that need to be allowed in each account to be able to run the tests.
cloudControl requires you to change the application names if the previous recording was made within the last 2 days, otherwise if fails because the name is still locked. Change the name in the spec/adapter/v1/cloud_control_spec.rb.
- [x] We should just auto generate a random name or number for the tests. This should not be done manually.
Credential file syntax and example does not match https://github.com/croeck/paasal/blob/master/wiki/adapter_tests.md#recording
Syntax only uses user
and password
whereas the example below uses additional attributes username
and id
which is unclear to me.