Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1209

Integration Tests using new Swagger Client API ("Fineract SDK")

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: SDK
    • Labels:
      None

      Description

      Thanks to the progress in FINERACT-1189, I think we're closer than we have ever been to do something I have dreamt of for a long time... basically what we were discussing back in the comments of FINERACT-838, copy/paste:

      (...) include sample code in the repo building against the generated client libraries to test and illustrate their usage. (...) it's still not really "tested" at all, of course. We don't know if the generated code is a working client. (...) In an ideal world, we should have some sort of fineract-client-demo as a small separate project in the git root directory (of Apache Fineract core, not separately/outside!) which depends on fineract-client, and invokes at least some of the generated APIs. This IMHO should always be run, e.g. on Travis CI. We would of course need a "back-end server" - the easiest would probably be to run this against the local server we're anyway starting for integrationTest, in a separate new Gradle task with the appropriate dependencies?

      Thinking about this again with 2 months distance since writing above, what we probably REALLY should do, I don't know if instead of or in addition to a separate small new fineract-client-demo, is have (all?) of our ITs (in integrationTest) use the Swagger Client, instead of all those weird hand hard-coded *Utils and *Helper classes with RestAssured - that would be so much nicer!

      Aleksandar Vidakovic Chinmay Kulkarni Petri Tuomola Manthan Surkar

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              aleks Aleksandar Vidakovic
              Reporter:
              vorburger Michael Vorburger

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment