Griffon
  1. Griffon
  2. GRIFFON-83

Integration tests do not initialize the application fully

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.2
    • Fix Version/s: 0.9
    • Component/s: cli
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Integration tests bring the application up to the bootstrap phase, however MVCs are not initialized until Startup has been called.

        Activity

        Hide
        Danno Ferrin added a comment -

        wouldn't each test want to have their own instance? or would they be required to leave the app in a known state. Remember the tests are essentially in a random order. This isn't as simple as grails where a new HttpSession can be opened up...

        Show
        Danno Ferrin added a comment - wouldn't each test want to have their own instance? or would they be required to leave the app in a known state. Remember the tests are essentially in a random order. This isn't as simple as grails where a new HttpSession can be opened up...
        Hide
        Andres Almiray added a comment -

        That's true. I'm still wrapping my head around the expected default behavior.

        Show
        Andres Almiray added a comment - That's true. I'm still wrapping my head around the expected default behavior.
        Hide
        Andres Almiray added a comment -

        Applications will be initialized up to the INITIALIZE phase while running on integration mode. It's up to the developer to decided when to move to the next phase.

        Show
        Andres Almiray added a comment - Applications will be initialized up to the INITIALIZE phase while running on integration mode. It's up to the developer to decided when to move to the next phase.

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Andres Almiray
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: