Skip to content

Draft: Task dependency test

Adds test demonstrating error in smtk::task states first described in issue #519

Do Not Merge

This code branch is based on !2940 (merged) so that I can build on linux. It should not be merged before that MR (and not before the error is fixed, of course).

Two Tests

This branch adds two tests:

  • TestCreateTaskDependencyProject which creates an smtk project in .../Testing/Temporary/TaskDependency
  • TestReadTaskDependencyProject which loads the project and (i) marks the "Assign Attributes Resource" task complete, then (ii) marks the "Plain Task" completed, then (iii) checks the task states.

Unexpected result

  • In #519 the error is that the "Edit Attributes" state is Completable when it should be Incomplete (because its assigned attribute is invalid).
  • In this test, the error is that the "Edit Attributes" state is Irrelevant.

Why the two results are different is unknown.

Merge request reports