2018-09-11 18:51:47 +02:00
:orphan:
2018-04-25 20:18:52 +02:00
.. _testing_units_modules:
2017-10-19 22:36:57 +02:00
***** ***** ***** ***** ***** ***
Unit Testing Ansible Modules
***** ***** ***** ***** ***** ***
2017-11-27 20:41:53 +01:00
.. highlight :: python
2017-10-19 22:36:57 +02:00
.. contents :: Topics
Introduction
============
This document explains why, how and when you should use unit tests for Ansible modules.
The document doesn't apply to other parts of Ansible for which the recommendations are
2020-09-09 18:41:43 +02:00
normally closer to the Python standard. There is basic documentation for Ansible unit
tests in the developer guide :ref: `testing_units` . This document should
2018-09-11 18:51:47 +02:00
be readable for a new Ansible module author. If you find it incomplete or confusing,
2017-10-19 22:36:57 +02:00
please open a bug or ask for help on Ansible IRC.
What Are Unit Tests?
====================
2019-02-02 00:59:13 +01:00
Ansible includes a set of unit tests in the :file: `test/units` directory. These tests primarily cover the
2020-09-09 18:41:43 +02:00
internals but can also cover Ansible modules. The structure of the unit tests matches
2019-02-02 00:59:13 +01:00
the structure of the code base, so the tests that reside in the :file: `test/units/modules/` directory
2017-10-19 22:36:57 +02:00
are organized by module groups.
Integration tests can be used for most modules, but there are situations where
2020-09-09 18:41:43 +02:00
cases cannot be verified using integration tests. This means that Ansible unit test cases
2017-10-19 22:36:57 +02:00
may extend beyond testing only minimal units and in some cases will include some
level of functional testing.
Why Use Unit Tests?
===================
Ansible unit tests have advantages and disadvantages. It is important to understand these.
Advantages include:
2020-09-09 18:41:43 +02:00
* Most unit tests are much faster than most Ansible integration tests. The complete suite
2017-10-19 22:36:57 +02:00
of unit tests can be run regularly by a developer on their local system.
* Unit tests can be run by developers who don't have access to the system which the module is
designed to work on, allowing a level of verification that changes to core functions
haven't broken module expectations.
* Unit tests can easily substitute system functions allowing testing of software that
2020-09-09 18:41:43 +02:00
would be impractical. For example, the `` sleep() `` function can be replaced and we check
2017-10-19 22:36:57 +02:00
that a ten minute sleep was called without actually waiting ten minutes.
* Unit tests are run on different Python versions. This allows us to
ensure that the code behaves in the same way on different Python versions.
There are also some potential disadvantages of unit tests. Unit tests don't normally
directly test actual useful valuable features of software, instead just internal
implementation
* Unit tests that test the internal, non-visible features of software may make
refactoring difficult if those internal features have to change (see also naming in How
below)
* Even if the internal feature is working correctly it is possible that there will be a
problem between the internal code tested and the actual result delivered to the user
Normally the Ansible integration tests (which are written in Ansible YAML) provide better
2020-09-09 18:41:43 +02:00
testing for most module functionality. If those tests already test a feature and perform
2017-10-19 22:36:57 +02:00
well there may be little point in providing a unit test covering the same area as well.
When To Use Unit Tests
======================
There are a number of situations where unit tests are a better choice than integration
tests. For example, testing things which are impossible, slow or very difficult to test
with integration tests, such as:
2018-09-11 18:51:47 +02:00
2017-10-19 22:36:57 +02:00
* Forcing rare / strange / random situations that can't be forced, such as specific network
failures and exceptions
2018-09-11 18:51:47 +02:00
* Extensive testing of slow configuration APIs
2017-10-19 22:36:57 +02:00
* Situations where the integration tests cannot be run as part of the main Ansible
2018-12-07 23:54:32 +01:00
continuous integration running in Shippable.
2017-10-19 22:36:57 +02:00
Providing quick feedback
------------------------
Example:
A single step of the rds_instance test cases can take up to 20
2020-09-09 18:41:43 +02:00
minutes (the time to create an RDS instance in Amazon). The entire
test run can last for well over an hour. All 16 of the unit tests
2017-10-19 22:36:57 +02:00
complete execution in less than 2 seconds.
The time saving provided by being able to run the code in a unit test makes it worth
creating a unit test when bug fixing a module, even if those tests do not often identify
2020-09-09 18:41:43 +02:00
problems later. As a basic goal, every module should have at least one unit test which
2017-10-19 22:36:57 +02:00
will give quick feedback in easy cases without having to wait for the integration tests to
complete.
2018-09-11 18:51:47 +02:00
2017-10-19 22:36:57 +02:00
Ensuring correct use of external interfaces
-------------------------------------------
2018-09-11 18:51:47 +02:00
Unit tests can check the way in which external services are run to ensure that they match
2017-10-19 22:36:57 +02:00
specifications or are as efficient as possible *even when the final output will not be changed* .
Example:
Package managers are often far more efficient when installing multiple packages at once
rather than each package separately. The final result is the
same: the packages are all installed, so the efficiency is difficult to verify through
integration tests. By providing a mock package manager and verifying that it is called
once, we can build a valuable test for module efficiency.
Another related use is in the situation where an API has versions which behave
differently. A programmer working on a new version may change the module to work with the
2020-09-09 18:41:43 +02:00
new API version and unintentionally break the old version. A test case
2017-10-19 22:36:57 +02:00
which checks that the call happens properly for the old version can help avoid the
2020-09-09 18:41:43 +02:00
problem. In this situation it is very important to include version numbering in the test case
2017-10-19 22:36:57 +02:00
name (see `Naming unit tests`_ below).
2018-09-11 18:51:47 +02:00
Providing specific design tests
2017-10-19 22:36:57 +02:00
--------------------------------
By building a requirement for a particular part of the
code and then coding to that requirement, unit tests _can_ sometimes improve the code and
2018-09-11 18:51:47 +02:00
help future developers understand that code.
2017-10-19 22:36:57 +02:00
Unit tests that test internal implementation details of code, on the other hand, almost
always do more harm than good. Testing that your packages to install are stored in a list
would slow down and confuse a future developer who might need to change that list into a
dictionary for efficiency. This problem can be reduced somewhat with clear test naming so
that the future developer immediately knows to delete the test case, but it is often
better to simply leave out the test case altogether and test for a real valuable feature
2018-09-11 18:51:47 +02:00
of the code, such as installing all of the packages supplied as arguments to the module.
2017-10-19 22:36:57 +02:00
How to unit test Ansible modules
================================
2020-09-09 18:41:43 +02:00
There are a number of techniques for unit testing modules. Beware that most
2017-10-19 22:36:57 +02:00
modules without unit tests are structured in a way that makes testing quite difficult and
2020-09-09 18:41:43 +02:00
can lead to very complicated tests which need more work than the code. Effectively using unit
2017-10-19 22:36:57 +02:00
tests may lead you to restructure your code. This is often a good thing and leads
to better code overall. Good restructuring can make your code clearer and easier to understand.
Naming unit tests
-----------------
Unit tests should have logical names. If a developer working on the module being tested
breaks the test case, it should be easy to figure what the unit test covers from the name.
If a unit test is designed to verify compatibility with a specific software or API version
then include the version in the name of the unit test.
As an example, `` test_v2_state_present_should_call_create_server_with_name() `` would be a
2018-09-11 18:51:47 +02:00
good name, `` test_create_server() `` would not be.
2017-10-19 22:36:57 +02:00
Use of Mocks
------------
Mock objects (from https://docs.python.org/3/library/unittest.mock.html) can be very
useful in building unit tests for special / difficult cases, but they can also
2020-09-09 18:41:43 +02:00
lead to complex and confusing coding situations. One good use for mocks would be in
2017-10-19 22:36:57 +02:00
simulating an API. As for 'six', the 'mock' python package is bundled with Ansible (use
2019-12-16 18:07:26 +01:00
`` import units.compat.mock `` ).
2017-10-19 22:36:57 +02:00
Ensuring failure cases are visible with mock objects
----------------------------------------------------
2017-11-27 20:41:53 +01:00
Functions like :meth: `module.fail_json` are normally expected to terminate execution. When you
2018-09-11 18:51:47 +02:00
run with a mock module object this doesn't happen since the mock always returns another mock
2017-10-19 22:36:57 +02:00
from a function call. You can set up the mock to raise an exception as shown above, or you can
assert that these functions have not been called in each test. For example::
module = MagicMock()
function_to_test(module, argument)
2018-09-11 18:51:47 +02:00
module.fail_json.assert_not_called()
2017-10-19 22:36:57 +02:00
This applies not only to calling the main module but almost any other
2018-09-11 18:51:47 +02:00
function in a module which gets the module object.
2017-10-19 22:36:57 +02:00
Mocking of the actual module
----------------------------
The setup of an actual module is quite complex (see `Passing Arguments`_ below) and often
isn't needed for most functions which use a module. Instead you can use a mock object as
the module and create any module attributes needed by the function you are testing. If
you do this, beware that the module exit functions need special handling as mentioned
above, either by throwing an exception or ensuring that they haven't been called. For example::
class AnsibleExitJson(Exception):
"""Exception class to be raised by module.exit_json and caught by the test case"""
pass
2019-04-15 21:27:06 +02:00
# you may also do the same to fail json
module = MagicMock()
2017-10-19 22:36:57 +02:00
module.exit_json.side_effect = AnsibleExitJson(Exception)
with self.assertRaises(AnsibleExitJson) as result:
return = my_module.test_this_function(module, argument)
2018-09-11 18:51:47 +02:00
module.fail_json.assert_not_called()
2017-10-19 22:36:57 +02:00
assert return["changed"] == True
2018-09-11 18:51:47 +02:00
2017-10-19 22:36:57 +02:00
API definition with unit test cases
-----------------------------------
API interaction is usually best tested with the function tests defined in Ansible's
2020-09-09 18:41:43 +02:00
integration testing section, which run against the actual API. There are several cases
2017-10-19 22:36:57 +02:00
where the unit tests are likely to work better.
Defining a module against an API specification
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This case is especially important for modules interacting with web services, which provide
an API that Ansible uses but which are beyond the control of the user.
By writing a custom emulation of the calls that return data from the API, we can ensure
that only the features which are clearly defined in the specification of the API are
2020-09-09 18:41:43 +02:00
present in the message. This means that we can check that we use the correct
2017-10-19 22:36:57 +02:00
parameters and nothing else.
*Example: in rds_instance unit tests a simple instance state is defined* ::
def simple_instance_list(status, pending):
return {u'DBInstances': [{u'DBInstanceArn': 'arn:aws:rds:us-east-1:1234567890:db:fakedb',
u'DBInstanceStatus': status,
u'PendingModifiedValues': pending,
u'DBInstanceIdentifier': 'fakedb'}]}
This is then used to create a list of states::
rds_client_double = MagicMock()
rds_client_double.describe_db_instances.side_effect = [
simple_instance_list('rebooting', {"a": "b", "c": "d"}),
simple_instance_list('available', {"c": "d", "e": "f"}),
simple_instance_list('rebooting', {"a": "b"}),
simple_instance_list('rebooting', {"e": "f", "g": "h"}),
simple_instance_list('rebooting', {}),
simple_instance_list('available', {"g": "h", "i": "j"}),
simple_instance_list('rebooting', {"i": "j", "k": "l"}),
simple_instance_list('available', {}),
simple_instance_list('available', {}),
]
2018-09-11 18:51:47 +02:00
2017-10-19 22:36:57 +02:00
These states are then used as returns from a mock object to ensure that the `` await `` function
waits through all of the states that would mean the RDS instance has not yet completed
configuration::
rds_i.await_resource(rds_client_double, "some-instance", "available", mod_mock,
await_pending=1)
assert(len(sleeper_double.mock_calls) > 5), "await_pending didn't wait enough"
By doing this we check that the `` await `` function will keep waiting through
potentially unusual that it would be impossible to reliably trigger through the
integration tests but which happen unpredictably in reality.
Defining a module to work against multiple API versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This case is especially important for modules interacting with many different versions of
software; for example, package installation modules that might be expected to work with
many different operating system versions.
By using previously stored data from various versions of an API we can ensure that the
code is tested against the actual data which will be sent from that version of the system
even when the version is very obscure and unlikely to be available during testing.
Ansible special cases for unit testing
======================================
There are a number of special cases for unit testing the environment of an Ansible module.
The most common are documented below, and suggestions for others can be found by looking
at the source code of the existing unit tests or asking on the Ansible IRC channel or mailing
lists.
2018-09-11 18:51:47 +02:00
Module argument processing
2017-10-19 22:36:57 +02:00
--------------------------
2018-09-11 18:51:47 +02:00
There are two problems with running the main function of a module:
2017-10-19 22:36:57 +02:00
* Since the module is supposed to accept arguments on `` STDIN `` it is a bit difficult to
set up the arguments correctly so that the module will get them as parameters.
2017-11-27 20:41:53 +01:00
* All modules should finish by calling either the :meth: `module.fail_json` or
:meth: `module.exit_json` , but these won't work correctly in a testing environment.
2017-10-19 22:36:57 +02:00
Passing Arguments
-----------------
.. This section should be updated once https://github.com/ansible/ansible/pull/31456 is
closed since the function below will be provided in a library file.
2019-04-16 00:27:27 +02:00
To pass arguments to a module correctly, use the `` set_module_args `` method which accepts a dictionary
as its parameter. Module creation and argument processing is
2017-11-27 20:41:53 +01:00
handled through the :class: `AnsibleModule` object in the basic section of the utilities. Normally
2017-10-19 22:36:57 +02:00
this accepts input on `` STDIN `` , which is not convenient for unit testing. When the special
2019-04-16 00:27:27 +02:00
variable is set it will be treated as if the input came on `` STDIN `` to the module. Simply call that function before setting up your module::
2017-10-19 22:36:57 +02:00
2019-06-26 20:59:33 +02:00
import json
from units.modules.utils import set_module_args
from ansible.module_utils._text import to_bytes
2017-10-19 22:36:57 +02:00
2019-04-15 21:27:06 +02:00
def test_already_registered(self):
set_module_args({
'activationkey': 'key',
'username': 'user',
'password': 'pass',
})
2017-10-19 22:36:57 +02:00
Handling exit correctly
-----------------------
.. This section should be updated once https://github.com/ansible/ansible/pull/31456 is
closed since the exit and failure functions below will be provided in a library file.
2017-11-27 20:41:53 +01:00
The :meth: `module.exit_json` function won't work properly in a testing environment since it
2017-10-19 22:36:57 +02:00
writes error information to `` STDOUT `` upon exit, where it
2017-11-27 20:41:53 +01:00
is difficult to examine. This can be mitigated by replacing it (and :meth: `module.fail_json` ) with
2017-10-19 22:36:57 +02:00
a function that raises an exception::
def exit_json(*args, * *kwargs):
if 'changed' not in kwargs:
kwargs['changed'] = False
raise AnsibleExitJson(kwargs)
Now you can ensure that the first function called is the one you expected simply by
testing for the correct exception::
def test_returned_value(self):
set_module_args({
'activationkey': 'key',
'username': 'user',
'password': 'pass',
})
2019-04-15 21:27:06 +02:00
with self.assertRaises(AnsibleExitJson) as result:
my_module.main()
2017-10-19 22:36:57 +02:00
2017-11-27 20:41:53 +01:00
The same technique can be used to replace :meth: `module.fail_json` (which is used for failure
2017-10-19 22:36:57 +02:00
returns from modules) and for the `` aws_module.fail_json_aws() `` (used in modules for Amazon
Web Services).
Running the main function
-------------------------
If you do want to run the actual main function of a module you must import the module, set
the arguments as above, set up the appropriate exit exception and then run the module::
# This test is based around pytest's features for individual test functions
import pytest
2019-04-15 21:27:06 +02:00
import ansible.modules.module.group.my_module as my_module
2017-10-19 22:36:57 +02:00
def test_main_function(monkeypatch):
monkeypatch.setattr(my_module.AnsibleModule, "exit_json", fake_exit_json)
set_module_args({
'activationkey': 'key',
'username': 'user',
'password': 'pass',
})
my_module.main()
Handling calls to external executables
--------------------------------------
2017-11-27 20:41:53 +01:00
Module must use :meth: `AnsibleModule.run_command` in order to execute an external command. This
2017-10-19 22:36:57 +02:00
method needs to be mocked:
2017-11-27 20:41:53 +01:00
Here is a simple mock of :meth: `AnsibleModule.run_command` (taken from :file: `test/units/modules/packaging/os/test_rhn_register.py` )::
2017-10-19 22:36:57 +02:00
with patch.object(basic.AnsibleModule, 'run_command') as run_command:
run_command.return_value = 0, '', '' # successful execution, no output
with self.assertRaises(AnsibleExitJson) as result:
self.module.main()
self.assertFalse(result.exception.args[0]['changed'])
# Check that run_command has been called
run_command.assert_called_once_with('/usr/bin/command args')
self.assertEqual(run_command.call_count, 1)
self.assertFalse(run_command.called)
A Complete Example
------------------
The following example is a complete skeleton that reuses the mocks explained above and adds a new
2017-11-27 20:41:53 +01:00
mock for :meth: `Ansible.get_bin_path` ::
2018-09-11 18:51:47 +02:00
2017-10-19 22:36:57 +02:00
import json
2019-12-16 18:07:26 +01:00
from units.compat import unittest
from units.compat.mock import patch
2017-10-19 22:36:57 +02:00
from ansible.module_utils import basic
from ansible.module_utils._text import to_bytes
from ansible.modules.namespace import my_module
def set_module_args(args):
"""prepare arguments so that they will be picked up during module creation"""
args = json.dumps({'ANSIBLE_MODULE_ARGS': args})
basic._ANSIBLE_ARGS = to_bytes(args)
class AnsibleExitJson(Exception):
"""Exception class to be raised by module.exit_json and caught by the test case"""
pass
class AnsibleFailJson(Exception):
"""Exception class to be raised by module.fail_json and caught by the test case"""
pass
def exit_json(*args, * *kwargs):
"""function to patch over exit_json; package return data into an exception"""
if 'changed' not in kwargs:
kwargs['changed'] = False
raise AnsibleExitJson(kwargs)
def fail_json(*args, * *kwargs):
"""function to patch over fail_json; package return data into an exception"""
kwargs['failed'] = True
raise AnsibleFailJson(kwargs)
def get_bin_path(self, arg, required=False):
"""Mock AnsibleModule.get_bin_path"""
if arg.endswith('my_command'):
return '/usr/bin/my_command'
else:
if required:
fail_json(msg='%r not found !' % arg)
class TestMyModule(unittest.TestCase):
def setUp(self):
self.mock_module_helper = patch.multiple(basic.AnsibleModule,
exit_json=exit_json,
fail_json=fail_json,
get_bin_path=get_bin_path)
self.mock_module_helper.start()
self.addCleanup(self.mock_module_helper.stop)
def test_module_fail_when_required_args_missing(self):
with self.assertRaises(AnsibleFailJson):
set_module_args({})
self.module.main()
def test_ensure_command_called(self):
set_module_args({
'param1': 10,
'param2': 'test',
})
with patch.object(basic.AnsibleModule, 'run_command') as mock_run_command:
stdout = 'configuration updated'
stderr = ''
rc = 0
mock_run_command.return_value = rc, stdout, stderr # successful execution
with self.assertRaises(AnsibleExitJson) as result:
my_module.main()
self.assertFalse(result.exception.args[0]['changed']) # ensure result is changed
mock_run_command.assert_called_once_with('/usr/bin/my_command --value 10 --name test')
Restructuring modules to enable testing module set up and other processes
-------------------------------------------------------------------------
2017-11-27 20:41:53 +01:00
Often modules have a `` main() `` function which sets up the module and then performs other
2017-10-19 22:36:57 +02:00
actions. This can make it difficult to check argument processing. This can be made easier by
moving module configuration and initialization into a separate function. For example::
argument_spec = dict(
# module function variables
state=dict(choices=['absent', 'present', 'rebooted', 'restarted'], default='present'),
apply_immediately=dict(type='bool', default=False),
wait=dict(type='bool', default=False),
wait_timeout=dict(type='int', default=600),
allocated_storage=dict(type='int', aliases=['size']),
db_instance_identifier=dict(aliases=["id"], required=True),
)
def setup_module_object():
module = AnsibleAWSModule(
argument_spec=argument_spec,
required_if=required_if,
mutually_exclusive=[['old_instance_id', 'source_db_instance_identifier',
'db_snapshot_identifier']],
)
return module
def main():
module = setup_module_object()
validate_parameters(module)
conn = setup_client(module)
return_dict = run_task(module, conn)
module.exit_json(**return_dict)
This now makes it possible to run tests against the module initiation function::
def test_rds_module_setup_fails_if_db_instance_identifier_parameter_missing():
# db_instance_identifier parameter is missing
set_module_args({
'state': 'absent',
'apply_immediately': 'True',
})
with self.assertRaises(AnsibleFailJson) as result:
2019-04-15 21:27:06 +02:00
self.module.setup_json
2017-10-19 22:36:57 +02:00
See also `` test/units/module_utils/aws/test_rds.py ``
2017-11-27 20:41:53 +01:00
Note that the `` argument_spec `` dictionary is visible in a module variable. This has
2017-10-19 22:36:57 +02:00
advantages, both in allowing explicit testing of the arguments and in allowing the easy
creation of module objects for testing.
The same restructuring technique can be valuable for testing other functionality, such as the part of the module which queries the object that the module configures.
Traps for maintaining Python 2 compatibility
============================================
If you use the `` mock `` library from the Python 2.6 standard library, a number of the
2020-09-09 18:41:43 +02:00
assert functions are missing but will return as if successful. This means that test cases should take great care *not* use
2017-10-19 22:36:57 +02:00
functions marked as _new_ in the Python 3 documentation, since the tests will likely always
succeed even if the code is broken when run on older versions of Python.
A helpful development approach to this should be to ensure that all of the tests have been
run under Python 2.6 and that each assertion in the test cases has been checked to work by breaking
the code in Ansible to trigger that failure.
2018-09-07 15:57:36 +02:00
.. warning :: Maintain Python 2.6 compatibility
2018-07-18 20:34:16 +02:00
2018-09-07 15:57:36 +02:00
Please remember that modules need to maintain compatibility with Python 2.6 so the unittests for
modules should also be compatible with Python 2.6.
2018-07-18 20:34:16 +02:00
2017-10-19 22:36:57 +02:00
.. seealso ::
2019-06-26 20:59:33 +02:00
:ref: `testing_units`
2017-10-19 22:36:57 +02:00
Ansible unit tests documentation
2019-06-26 20:59:33 +02:00
:ref: `testing_running_locally`
2017-10-19 22:36:57 +02:00
Running tests locally including gathering and reporting coverage data
2019-06-26 20:59:33 +02:00
:ref: `developing_modules_general`
Get started developing a module
2017-10-19 22:36:57 +02:00
`Python 3 documentation - 26.4. unittest — Unit testing framework <https://docs.python.org/3/library/unittest.html> `_
2018-09-11 18:51:47 +02:00
The documentation of the unittest framework in python 3
2017-10-19 22:36:57 +02:00
`Python 2 documentation - 25.3. unittest — Unit testing framework <https://docs.python.org/3/library/unittest.html> `_
The documentation of the earliest supported unittest framework - from Python 2.6
`pytest: helps you write better programs <https://docs.pytest.org/en/latest/> `_
The documentation of pytest - the framework actually used to run Ansible unit tests
2018-07-21 15:48:47 +02:00
`Development Mailing List <https://groups.google.com/group/ansible-devel> `_
2017-10-19 22:36:57 +02:00
Mailing list for development topics
2018-08-13 21:54:14 +02:00
`Testing Your Code (from The Hitchhiker's Guide to Python!) <https://docs.python-guide.org/writing/tests/> `_
2017-10-19 22:36:57 +02:00
General advice on testing Python code
`Uncle Bob's many videos on YouTube <https://www.youtube.com/watch?v=QedpQjxBPMA&list=PLlu0CT-JnSasQzGrGzddSczJQQU7295D2> `_
Unit testing is a part of the of various philosophies of software development, including
2019-04-15 21:27:06 +02:00
Extreme Programming (XP), Clean Coding. Uncle Bob talks through how to benefit from this
`"Why Most Unit Testing is Waste" <https://rbcs-us.com/documents/Why-Most-Unit-Testing-is-Waste.pdf> `_
2017-10-19 22:36:57 +02:00
An article warning against the costs of unit testing
2019-04-15 21:27:06 +02:00
`'A Response to "Why Most Unit Testing is Waste"' <https://henrikwarne.com/2014/09/04/a-response-to-why-most-unit-testing-is-waste/> `_
2017-10-19 22:36:57 +02:00
An response pointing to how to maintain the value of unit tests