Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Feature/unit tests #28
Conversation
petevg
reviewed
Jul 6, 2016
| + def site_yaml(self): | ||
| + '''Path to the site_yaml config file.''' | ||
| + return self._site_yaml | ||
| + |
petevg
Jul 6, 2016
Moved these here to make them override-able in the tests. Also helps with introspection.
petevg
changed the title from
[WIP] Feature/unit tests
to
Feature/unit tests
Jul 7, 2016
petevg
added some commits
Jun 28, 2016
|
This looks great for the bigtop base layer, but we have a problem for any charm built from it. The tox.ini here is overwritten by the tox.ini in layer-basic, which clobbers stuff like the This is a problem because
|
kwmonroe
reviewed
Jul 27, 2016
| -making the tests more or less verbose, edit tox.ini. | ||
| +To run unit tests for this layer, change to the root directory of the | ||
| +layer in a terminal, and run "tox -c tox_unit.ini". To tweak settings, | ||
| +such as making the tests more or less verbose, edit tox-unit.ini. |
|
LGTM |
kwmonroe
merged commit b4d64ba
into
master
Jul 27, 2016
kwmonroe
deleted the
feature/unit-tests
branch
Mar 29, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
petevg commentedJul 1, 2016
•
Edited 1 time
-
petevg
Jul 6, 2016
No longer a Work In Progress; this is ready for review!
These are basic tests for layer-apache-bigtop-base. I'd appreciate feedback on technique (too mock-y, just mock-y enough?).
@juju-solutions/bigdata