예제 #1
0
파일: examples.py 프로젝트: ehansis/tdda
# -*- coding: utf-8 -*-
"""
The :py:mod:`tdda.constraints` module includes a set of examples.

To copy these examples to your own *constraints-examples* subdirectory
(or to a location of your choice)::

    python -m tdda.constraints.examples [mydirectory]

"""
from __future__ import absolute_import

from tdda import examples

if __name__ == '__main__':
    examples.copy_main('constraints')

예제 #2
0
# -*- coding: utf-8 -*-
"""
The :py:mod:`tdda.referencetest` module includes a set of examples,
for both :py:mod:`unittest` and :py:mod:`pytest`.

To copy these examples to your own *referencetest-examples* subdirectory
(or to a location of your choice)::

    python -m tdda.referencetest.examples [mydirectory]

"""
from __future__ import absolute_import

from tdda import examples

if __name__ == '__main__':
    examples.copy_main('referencetest')

예제 #3
0
# -*- coding: utf-8 -*-
"""
The :py:mod:`tdda.rexpy` module includes a set of examples.

To copy these examples to your own *rexpy-examples* subdirectory
(or to a location of your choice)::

    python -m tdda.rexpy.examples [mydirectory]

"""
from __future__ import absolute_import

from tdda import examples

if __name__ == '__main__':
    examples.copy_main('rexpy')

예제 #4
0
파일: examples.py 프로젝트: tdda/tdda
# -*- coding: utf-8 -*-
"""
The :py:mod:`tdda.constraints` module includes a set of examples.

To copy these examples to your own *constraints_examples* subdirectory
(or to a location of your choice), run the command::

    tdda examples constraints [mydirectory]

"""
from __future__ import absolute_import

from tdda import examples

if __name__ == '__main__':
    examples.copy_main('constraints')

예제 #5
0
파일: examples.py 프로젝트: tdda/tdda
# -*- coding: utf-8 -*-
"""
The :py:mod:`tdda.referencetest` module includes a set of examples,
for both :py:mod:`unittest` and :py:mod:`pytest`.

To copy these examples to your own *referencetest-examples* subdirectory
(or to a location of your choice), run the command::

    tdda examples referencetest [mydirectory]

Alternatively, you can copy all examples using the following command::

    tdda examples

which will create three separate sub-directories.
"""
from __future__ import absolute_import

from tdda import examples

if __name__ == '__main__':
    examples.copy_main('referencetest')