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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0
    • None
    • None
    • None
    • 1.1.77

      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] ------------------------------------------------------------------------

              lheinema@redhat.com Lars Heinemann
              cibsen@redhat.com Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: