hydra.dsl.testing module

DSL functions for hydra.testing.

hydra.dsl.testing.effectful_test_case(actual: TypedTerm[Callable[[None], str]], expected: TypedTerm[Callable[[None], str]]) TypedTerm[EffectfulTestCase]

DSL constructor for hydra.testing.EffectfulTestCase.

hydra.dsl.testing.effectful_test_case_actual(x: TypedTerm[EffectfulTestCase]) TypedTerm[Callable[[None], str]]

DSL accessor for the actual field of hydra.testing.EffectfulTestCase.

hydra.dsl.testing.effectful_test_case_expected(x: TypedTerm[EffectfulTestCase]) TypedTerm[Callable[[None], str]]

DSL accessor for the expected field of hydra.testing.EffectfulTestCase.

hydra.dsl.testing.effectful_test_case_with_actual(original: TypedTerm[EffectfulTestCase], new_val: TypedTerm[Callable[[None], str]]) TypedTerm[EffectfulTestCase]

DSL updater for the actual field of hydra.testing.EffectfulTestCase.

hydra.dsl.testing.effectful_test_case_with_expected(original: TypedTerm[EffectfulTestCase], new_val: TypedTerm[Callable[[None], str]]) TypedTerm[EffectfulTestCase]

DSL updater for the expected field of hydra.testing.EffectfulTestCase.

hydra.dsl.testing.tag(x: TypedTerm[str]) TypedTerm[Tag]

DSL constructor for the hydra.testing.Tag wrapper.

hydra.dsl.testing.test_case_effectful(x: TypedTerm[EffectfulTestCase]) TypedTerm[TestCase]

DSL injection for the effectful variant of hydra.testing.TestCase.

hydra.dsl.testing.test_case_universal(x: TypedTerm[UniversalTestCase]) TypedTerm[TestCase]

DSL injection for the universal variant of hydra.testing.TestCase.

hydra.dsl.testing.test_case_with_metadata(name: TypedTerm[str], case: TypedTerm[TestCase], description: TypedTerm[object], tags: TypedTerm[Sequence[Tag]]) TypedTerm[TestCaseWithMetadata]

DSL constructor for hydra.testing.TestCaseWithMetadata.

hydra.dsl.testing.test_case_with_metadata_case(x: TypedTerm[TestCaseWithMetadata]) TypedTerm[TestCase]

DSL accessor for the case field of hydra.testing.TestCaseWithMetadata.

hydra.dsl.testing.test_case_with_metadata_description(x: TypedTerm[TestCaseWithMetadata]) TypedTerm[object]

DSL accessor for the description field of hydra.testing.TestCaseWithMetadata.

hydra.dsl.testing.test_case_with_metadata_name(x: TypedTerm[TestCaseWithMetadata]) TypedTerm[str]

DSL accessor for the name field of hydra.testing.TestCaseWithMetadata.

hydra.dsl.testing.test_case_with_metadata_tags(x: TypedTerm[TestCaseWithMetadata]) TypedTerm[Sequence[Tag]]

DSL accessor for the tags field of hydra.testing.TestCaseWithMetadata.

hydra.dsl.testing.test_case_with_metadata_with_case(original: TypedTerm[TestCaseWithMetadata], new_val: TypedTerm[TestCase]) TypedTerm[TestCaseWithMetadata]

DSL updater for the case field of hydra.testing.TestCaseWithMetadata.

hydra.dsl.testing.test_case_with_metadata_with_description(original: TypedTerm[TestCaseWithMetadata], new_val: TypedTerm[object]) TypedTerm[TestCaseWithMetadata]

DSL updater for the description field of hydra.testing.TestCaseWithMetadata.

hydra.dsl.testing.test_case_with_metadata_with_name(original: TypedTerm[TestCaseWithMetadata], new_val: TypedTerm[str]) TypedTerm[TestCaseWithMetadata]

DSL updater for the name field of hydra.testing.TestCaseWithMetadata.

hydra.dsl.testing.test_case_with_metadata_with_tags(original: TypedTerm[TestCaseWithMetadata], new_val: TypedTerm[Sequence[Tag]]) TypedTerm[TestCaseWithMetadata]

DSL updater for the tags field of hydra.testing.TestCaseWithMetadata.

hydra.dsl.testing.test_group(name: TypedTerm[str], description: TypedTerm[object], subgroups: TypedTerm[Sequence[TestGroup]], cases: TypedTerm[Sequence[TestCaseWithMetadata]]) TypedTerm[TestGroup]

DSL constructor for hydra.testing.TestGroup.

hydra.dsl.testing.test_group_cases(x: TypedTerm[TestGroup]) TypedTerm[Sequence[TestCaseWithMetadata]]

DSL accessor for the cases field of hydra.testing.TestGroup.

hydra.dsl.testing.test_group_description(x: TypedTerm[TestGroup]) TypedTerm[object]

DSL accessor for the description field of hydra.testing.TestGroup.

hydra.dsl.testing.test_group_name(x: TypedTerm[TestGroup]) TypedTerm[str]

DSL accessor for the name field of hydra.testing.TestGroup.

hydra.dsl.testing.test_group_subgroups(x: TypedTerm[TestGroup]) TypedTerm[Sequence[TestGroup]]

DSL accessor for the subgroups field of hydra.testing.TestGroup.

hydra.dsl.testing.test_group_with_cases(original: TypedTerm[TestGroup], new_val: TypedTerm[Sequence[TestCaseWithMetadata]]) TypedTerm[TestGroup]

DSL updater for the cases field of hydra.testing.TestGroup.

hydra.dsl.testing.test_group_with_description(original: TypedTerm[TestGroup], new_val: TypedTerm[object]) TypedTerm[TestGroup]

DSL updater for the description field of hydra.testing.TestGroup.

hydra.dsl.testing.test_group_with_name(original: TypedTerm[TestGroup], new_val: TypedTerm[str]) TypedTerm[TestGroup]

DSL updater for the name field of hydra.testing.TestGroup.

hydra.dsl.testing.test_group_with_subgroups(original: TypedTerm[TestGroup], new_val: TypedTerm[Sequence[TestGroup]]) TypedTerm[TestGroup]

DSL updater for the subgroups field of hydra.testing.TestGroup.

hydra.dsl.testing.un_tag(x: TypedTerm[Tag]) TypedTerm[str]

DSL accessor for the body of hydra.testing.Tag.

hydra.dsl.testing.universal_test_case(actual: TypedTerm[Callable[[None], str]], expected: TypedTerm[Callable[[None], str]]) TypedTerm[UniversalTestCase]

DSL constructor for hydra.testing.UniversalTestCase.

hydra.dsl.testing.universal_test_case_actual(x: TypedTerm[UniversalTestCase]) TypedTerm[Callable[[None], str]]

DSL accessor for the actual field of hydra.testing.UniversalTestCase.

hydra.dsl.testing.universal_test_case_expected(x: TypedTerm[UniversalTestCase]) TypedTerm[Callable[[None], str]]

DSL accessor for the expected field of hydra.testing.UniversalTestCase.

hydra.dsl.testing.universal_test_case_with_actual(original: TypedTerm[UniversalTestCase], new_val: TypedTerm[Callable[[None], str]]) TypedTerm[UniversalTestCase]

DSL updater for the actual field of hydra.testing.UniversalTestCase.

hydra.dsl.testing.universal_test_case_with_expected(original: TypedTerm[UniversalTestCase], new_val: TypedTerm[Callable[[None], str]]) TypedTerm[UniversalTestCase]

DSL updater for the expected field of hydra.testing.UniversalTestCase.