Uploaded image for project: 'Fuse Tools'
  1. Fuse Tools
  2. FUSETOOLS-309

Run As - Local Camel Context - runs unit tests before launching

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      1.1.77

      Description

      Maybe we should consider being able to use the run as without having to run all the unit tests, and those tests must pass before it can start.

      Maybe we should have some option to configure if we should run unit tests first or not.

      For example I had some old unit test code generated by the wizard, and i was working on a new route, which I could not start using the wizard.

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.625 sec <<< FAILURE!

      Results :

      Tests in error:
      testCamelRoute(com.foo.CamelContextXmlTest): org.apache.camel.FailedToCreateRouteException: Failed to create route coolRoute: Route[[From[ref:xxx]] -> [Choice[[When[simple

      {header.gold}

      -... because of Failed to resolve endpoint: ref://xxx due to: No component found with scheme: ref

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lhein Lars Heinemann
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: