Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3903

Basic Unit Test Coverage for AWS Processors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0
    • Extensions
    • None

    Description

      Many of the AWS processors rely heavily on integration tests for coverage of major features. While there is no substitute for running the code against a live AWS environment, the live environment requirement means that integration tests are run infrequently. Regular unit tests should be included:

      • Provide coverage of basic features without integration tests
      • Demonstrate at least one mocking pattern for testing AWS request/response
      • Remove excuses for not providing unit tests with new features
      • Clarify integration tests vs. unit tests

      Processors that need help include:

      • InvokeLambda
      • DeleteS3Object, FetchS3Object, PutS3Object, ListS3
      • PutSNS
      • DeleteSQS, GetSQS, PutSQS

      Attachments

        Issue Links

          Activity

            People

              jameswing James Wing
              jameswing James Wing
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: