Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3662

Import without restart

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.6
    • Import / Export
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Writing automated UI tests for plugins is very easy for products that support import without restarting the application, between each test you can do an import and then you're guaranteed to have a clean new instance of the app, no need to worry about cleaning up after yourself, creation of test data is very fast and simple.

      Bamboo doesn't support this. I'm not sure how Bamboo's web tests ensure that dirty data isn't carried between tests, but if you've written a simple plugin that just requires one build plan to be set up in a particular way, you're not going to want to have to write 50 lines of code that go and click through Bamboo's build plan creation process, and then write more code to delete it all at the end of each test, so that you can write a few lines of code to test your plugin. You just want to create your test dataset, and then write a simple bit of code that imports that data.

      I understand that Bamboo has a lot setup and running in the background, and that an import has the potential to cause everything to go crazy, but in a functional test scenario, you have control over everything that's happening, you can ensure that there are no remote agents, no builds running, no repository polling etc. Even if there's a hidden importWithoutRestart option on the import page, not for production use, this would be massively helpful for plugin developers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jroper James Roper [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: