Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

80 linhas
1.6KB

  1. DDS CI Scripts Python API
  2. #########################
  3. Types from pytest
  4. *****************
  5. These types are defined by pytest, but are used extensively within the testing
  6. scripts.
  7. .. class:: _pytest.fixtures.FixtureRequest
  8. .. seealso:: :class:`pytest.FixtureRequest`
  9. .. class:: _pytest.tmpdir.TempPathFactory
  10. .. seealso:: :class:`pytest.TempPathFactory`
  11. Test Fixtures
  12. *************
  13. The following test fixtures are defined:
  14. - :func:`~dds_ci.testing.fixtures.dds` - :class:`dds_ci.dds.DDSWrapper` - A
  15. wrapper around the ``dds`` executable under test.
  16. - :func:`~dds_ci.testing.fixtures.tmp_project` -
  17. :class:`dds_ci.testing.fixtures.Project` - Create a new empty directory to be
  18. used as a test project for ``dds`` to execute.
  19. - :func:`~dds_ci.testing.http.http_repo` -
  20. :class:`dds_ci.testing.http.RepoServer` - Create a new dds repository and
  21. spawn an HTTP server to serve it.
  22. Module: ``dds_ci``
  23. ******************
  24. .. automodule:: dds_ci
  25. :members:
  26. Module: ``dds_ci.dds``
  27. **********************
  28. .. automodule:: dds_ci.dds
  29. :members:
  30. Module: ``dds_ci.proc``
  31. ***********************
  32. .. automodule:: dds_ci.proc
  33. :members:
  34. Module: ``dds_ci.testing``
  35. **************************
  36. .. automodule:: dds_ci.testing
  37. :members:
  38. Module: ``dds_ci.testing.http``
  39. *******************************
  40. .. automodule:: dds_ci.testing.http
  41. :members:
  42. Module: ``dds_ci.testing.fixtures``
  43. ***********************************
  44. .. automodule:: dds_ci.testing.fixtures
  45. :members:
  46. Module: ``dds_ci.testing.error``
  47. ********************************
  48. .. automodule:: dds_ci.testing.error
  49. :members: