Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5447

kogito-examples non unique packages

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • Kogito Tooling 0.13.0
    • None
    • None
    • None
    • 2021 Week 25-27 (from Jun 21), 2021 Week 28-30 (from Jul 12), 2021 Week 31-33 (from Aug 2), 2021 Week 34-36 (from Aug 23)

      kogito-examples contains tests with equal FQN, what is an issue for QE team during tracking tests results in polarion, as primary key is based on FQN there.

      example of such tests:
      ./process-usertasks-custom-lifecycle-quarkus/src/test/java/org/acme/travels/ApprovalsProcessTest.java
      ./process-usertasks-custom-lifecycle-springboot/src/test/java/org/acme/travels/ApprovalsProcessTest.java
      ./process-usertasks-quarkus/src/test/java/org/acme/travels/ApprovalsProcessTest.java
      ./process-usertasks-springboot/src/test/java/org/acme/travels/ApprovalsProcessTest.java
      ./process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/ApprovalsProcessTest.java
      ./process-usertasks-with-security-quarkus/src/test/java/org/acme/travels/ApprovalsProcessTest.java
      ./process-usertasks-with-security-springboot/src/test/java/org/acme/travels/ApprovalsProcessTest.java

      Complete list of potentially affected tests can be get as:

      find -name *Test.java |sed 's#.*/##' | sort | uniq -cd
      

      Where each number says how much tests with the same name we have.

      Then if we run:

      find -name TestName.java
      

      For each entry for the earlier command, we need to asses if the package is unique for the set of classes returned by second command.

            rh-ee-jomarko Jozef Marko
            rh-ee-jomarko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: