| Thread Previous • Date Previous • Date Next • Thread Next |
Hello, Alex P. and Ben! Today me with Alex P. experienced troubles with understanding how unit tests should be written for juju charms. As we decided earlier, we will cover with unit tests only functions that are used within charms, hooks will be covered with integration tests. In order to propose the way we can write unit tests, I wrote test for cf-cloud-controller and made MP ( https://code.launchpad.net/~lomov-as/charms/trusty/cf-cloud-controller/tests/+merge/215788 ). It would be great if Ben could make a review and give his response on it. Alex P., this MR has working test and can be used as example after Ben accept it, you can see list of questions I needed to solve in the description to MP. Thank you, Alex L.
| Thread Previous • Date Previous • Date Next • Thread Next |