Conghao97's picture tcftrees's picture
ProgramGen release
d086025
Raw History Blame Contribute Delete
10.9 kB
{
"passed_ptp": [
"tests.test_backend::TestJsonBackend::test_json_backend_record",
"tests.test_backend::TestJsonBackend::test_json_backend_get",
"tests.test_backend::TestJsonBackend::test_json_backend_get_multi",
"tests.test_backend::TestJsonBackend::test_json_backend_no_value",
"tests.test_backend::TestPickleBackend::test_pickle_backend_get",
"tests.test_backend::TestPickleBackend::test_pickle_backend_get_multi",
"tests.test_backend::TestPickleBackend::test_pickle_backend_no_value",
"tests.test_fakeit::test_function",
"tests.test_fakeit::test_production_doesnt_record",
"tests.test_fakeit::test_get_recrods",
"tests.test_fakeit::test_get_non_existing_recrods",
"tests.test_fakeit::test_replay",
"tests.test_fakeit::test_env",
"tests.test_fakeit::test_env_overrited",
"tests.test_fakeit::test_default_mode",
"tests.test_fakeit::test_same_name_decorated"
],
"test_files": [
"tests/__init__.py",
"tests/conftest.py",
"tests/test_backend.py",
"tests/test_fakeit.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=",
"tests/test_backend.py",
"tests/test_fakeit.py"
],
"test_payload_contract": {
"schema_version": "programgen.test-payload-contract.v1",
"test_files": [
"tests/__init__.py",
"tests/conftest.py",
"tests/test_backend.py",
"tests/test_fakeit.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=",
"tests/test_backend.py",
"tests/test_fakeit.py"
],
"text_fixtures": [],
"binary_fixtures": [],
"nonportable_absolute_paths": [],
"required_external_commands": [],
"declared_console_scripts": [],
"unresolved_external_commands": []
},
"unit_test": [
"tests.test_backend::TestJsonBackend::test_json_backend_record",
"tests.test_backend::TestJsonBackend::test_json_backend_get",
"tests.test_backend::TestJsonBackend::test_json_backend_get_multi",
"tests.test_backend::TestJsonBackend::test_json_backend_no_value",
"tests.test_backend::TestPickleBackend::test_pickle_backend_get",
"tests.test_backend::TestPickleBackend::test_pickle_backend_get_multi",
"tests.test_backend::TestPickleBackend::test_pickle_backend_no_value",
"tests.test_fakeit::test_function",
"tests.test_fakeit::test_production_doesnt_record",
"tests.test_fakeit::test_get_recrods",
"tests.test_fakeit::test_get_non_existing_recrods",
"tests.test_fakeit::test_replay",
"tests.test_fakeit::test_env",
"tests.test_fakeit::test_env_overrited",
"tests.test_fakeit::test_default_mode",
"tests.test_fakeit::test_same_name_decorated"
],
"expected_test_count": 26,
"measured_test_count": 26,
"enumerated_test_count": 16,
"test_count_source": "measured-suite",
"python_install_contract": {
"strategy": "editable-install",
"project_root": ".",
"package_roots": [
"."
],
"build_backend": "poetry.core.masonry.api",
"build_system_requires": [
"poetry-core>=1.0.0"
],
"editable": true,
"project_dependencies": [],
"editable_requires": [],
"runtime_strategy": "editable-install",
"runtime_build_inputs": [],
"build_context_inputs": [],
"distribution_name": "autofake",
"evidence": [
"./pyproject.toml"
],
"errors": [],
"isolate_build_backend": false,
"schema_version": "programgen.python-install-contract.v7"
},
"test_binary_files": [],
"artifact_contract_version": "programgen.forward-harbor.v6",
"renderer_schema_version": "programgen.forward-renderer.v4",
"test_import_contract": [
{
"test_file": "tests/conftest.py",
"source_file": "autofake/fakeit.py",
"import_root": "autofake",
"definition_path": "autofake.fakeit.FakeIt",
"required_import_path": "autofake.FakeIt",
"import_statement": "from autofake import FakeIt, Mode",
"symbol": "FakeIt",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/conftest.py",
"source_file": "autofake/models.py",
"import_root": "autofake",
"definition_path": "autofake.models.Mode",
"required_import_path": "autofake.Mode",
"import_statement": "from autofake import FakeIt, Mode",
"symbol": "Mode",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_backend.py",
"source_file": "autofake/backend.py",
"import_root": "autofake",
"definition_path": "autofake.backend.JSONBackend",
"required_import_path": "autofake.backend.JSONBackend",
"import_statement": "from autofake.backend import JSONBackend, PickleBackend",
"symbol": "JSONBackend",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_backend.py",
"source_file": "autofake/backend.py",
"import_root": "autofake",
"definition_path": "autofake.backend.PickleBackend",
"required_import_path": "autofake.backend.PickleBackend",
"import_statement": "from autofake.backend import JSONBackend, PickleBackend",
"symbol": "PickleBackend",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_backend.py",
"source_file": "autofake/exceptions.py",
"import_root": "autofake",
"definition_path": "autofake.exceptions.RecordNotFound",
"required_import_path": "autofake.exceptions.RecordNotFound",
"import_statement": "from autofake.exceptions import RecordNotFound",
"symbol": "RecordNotFound",
"kind": "exception",
"classification": "local-resolved"
},
{
"test_file": "tests/test_backend.py",
"source_file": "autofake/models.py",
"import_root": "autofake",
"definition_path": "autofake.models.Record",
"required_import_path": "autofake.models.Record",
"import_statement": "from autofake.models import Record",
"symbol": "Record",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_backend.py",
"source_file": null,
"import_root": "json",
"definition_path": null,
"required_import_path": "json",
"import_statement": "import json",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_backend.py",
"source_file": null,
"import_root": "pickle",
"definition_path": null,
"required_import_path": "pickle",
"import_statement": "import pickle",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_backend.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_backend.py",
"source_file": null,
"import_root": "tempfile",
"definition_path": null,
"required_import_path": "tempfile",
"import_statement": "import tempfile",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_fakeit.py",
"source_file": "autofake/fakeit.py",
"import_root": "autofake",
"definition_path": "autofake.fakeit.FakeIt",
"required_import_path": "autofake.FakeIt",
"import_statement": "from autofake import FakeIt, Mode, NotUniqueName, RecordNotFound",
"symbol": "FakeIt",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_fakeit.py",
"source_file": "autofake/models.py",
"import_root": "autofake",
"definition_path": "autofake.models.Mode",
"required_import_path": "autofake.Mode",
"import_statement": "from autofake import FakeIt, Mode, NotUniqueName, RecordNotFound",
"symbol": "Mode",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_fakeit.py",
"source_file": "autofake/exceptions.py",
"import_root": "autofake",
"definition_path": "autofake.exceptions.NotUniqueName",
"required_import_path": "autofake.NotUniqueName",
"import_statement": "from autofake import FakeIt, Mode, NotUniqueName, RecordNotFound",
"symbol": "NotUniqueName",
"kind": "exception",
"classification": "local-resolved"
},
{
"test_file": "tests/test_fakeit.py",
"source_file": "autofake/exceptions.py",
"import_root": "autofake",
"definition_path": "autofake.exceptions.RecordNotFound",
"required_import_path": "autofake.RecordNotFound",
"import_statement": "from autofake import FakeIt, Mode, NotUniqueName, RecordNotFound",
"symbol": "RecordNotFound",
"kind": "exception",
"classification": "local-resolved"
},
{
"test_file": "tests/test_fakeit.py",
"source_file": null,
"import_root": "os",
"definition_path": null,
"required_import_path": "os",
"import_statement": "import os",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_fakeit.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_fakeit.py",
"source_file": null,
"import_root": "typing",
"definition_path": null,
"required_import_path": "typing.Callable",
"import_statement": "from typing import Callable",
"symbol": "Callable",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_fakeit.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock",
"import_statement": "from unittest import mock",
"symbol": "mock",
"kind": "external",
"classification": "external"
}
],
"test_import_contract_digest": "57126c593ab40ef97bc9f7046a88caa1237f3508f2b18e08e3fbb75b350c6cf7"
}