Skip to content

Spec Refactor: Object checks #124

@machow

Description

@machow

Problem

Some tests are extensions of test_object, either by testing the "value" of an object, or by testing something code (i.e. AST) related.

value tests check isDefinedInProcess:

  • test_dictionary
  • test_data_frame
  • test_mc???
  • test_object_after_expression

code tests are similar in that they involve grabbing something by "name" in the AST:

  • test_object_accessed (mentioned in the specs)

Solution

Collapse the "isDefinedInProcess" checks into single place, with chained methods for further checks, like check_object('d').is_dictionary(with_keys = ['a', 'b']), or something.

Misc

  • isDefinedProcess is redundant, as included w/in DefinedProcessTest

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions