• Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • assert-3.0.0
    • None
    • assert
    • None

      Add support for external tasks in bpm-assert as suggested in the PR and the Holisticon fork

      Methods that should be covered by this first version:

      1. assertThat(ExternalTask) to validate ExternalTasks with assertions for topicName and activityId
      2. externalTask chaining-methods for ProcessInstanceAssert to find ExternalTask of an instance (analogously to Task)
      3. convenience methods for finding an ExternalTask by query and process instance (analogously to Task)
      4. convenience methods for completing an ExternalTask with and without additional variables (including the fetchAndLock transparently) - they have to check to having fetchAndLocked the correct external task regarding to its id (there could be multiple active external tasks with the same topic)
      5. convenience method to fetchAndLock with topic, worker and maxResults returning the list of LockedExternalTask
      6. convenience methods for completing a LockedExternalTask with and without additional variables

        This is the controller panel for Smart Panels app

            [CAM-9915] Add external tasks for assertions

            Methods can be found here:

            1. BpmnAwareTests#assertThat(ExternalTask) returning new ExternalTaskAssert
            2. externalTask(...) methods in ProcessInstanceAssert
            3. externalTask(...) methods in BpmnAwareTests
            4. complete(...) methods in BpmnAwareTests
            5. BpmnAwareTests#fetchAndLock(String, String, int
            6. complete(...) methods in BpmnAwareTests

            Tobias Metzke-Bernstein added a comment - Methods can be found here: BpmnAwareTests#assertThat(ExternalTask) returning new ExternalTaskAssert externalTask(...) methods in ProcessInstanceAssert externalTask(...) methods in BpmnAwareTests complete(...) methods in BpmnAwareTests BpmnAwareTests#fetchAndLock(String, String, int complete(...) methods in BpmnAwareTests

              Unassigned Unassigned
              tobias.metzke Tobias Metzke-Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: