Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-1627

Add tests for bot factories

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 1.0
    • None
    • bots
    • None

    Description

      There are several areas in Skara that are severely lacking in test coverage. One major such area is bot factories. If we had such tests, SKARA-1618 could easily have been avoided, as I would have added tests for it. Without an existing framework or model, it's too easy to skip writing them. We should figure out a good reusable model for writing and setting up such tests and add a basic set for each bot factory.

      I would like an easy way to define a test with a JSON string configuration snippet that gets processed by the factory and then be able to verify that the resulting bot instances are correct. The new Java multi-line strings should make writing the JSON input easier and clearer.

      Attachments

        Issue Links

          Activity

            People

              zsong Zhao Song
              erikj Erik Joelsson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: