Skip to content

State before and state after asserts for UtBot Python #986

Closed
@tamarinvs19

Description

@tamarinvs19

Description

Now we generate asserts only for the return value of the tested function. For a full check we need to assert function argument values and class field values if the testing function is class method.

Expected behavior

In order to add state assertions, we need to serialize arguments before and after function call (in Python), read it in Kotlin and then generate assertion code.

If the serialization process is unavailable for the field we should check only type.

Potential alternatives

No alternatives.

Context

No special context.

Metadata

Metadata

Assignees

Labels

ctg-enhancementNew feature, improvement or change requestlang-pythonIssue is related to python support

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions