Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-3347 As a buyer, I want to see the price of individual product bundle options
  3. COMMERCE-3665

Create integration (or Unit) test for all possible product configurations related to priceType, skuContributor and required

    Details

      Description

      A) Make sure test creates option values with prices (you may see CommerceOptionValueHelperTest - it creates bundles, and you may extract common code. Also Riccardo's PriceCalculation tests do some common work)
      B) Make sure there are options without values (whose collection of values are empty)

      such Options should be tested with context of priceType, skuContributor and required attributes:

      Possible scenarios:

      Attributes priceType skuContributor required
      Use case null true true
      Use case null true false
      Use case null false true
      Use case null false false
      Use case dynamic true true
      Use case dynamic true false
      Use case dynamic false true
      Use case dynamic false false
      Use case static true true
      Use case static true false
      Use case static false true
      Use case static false false

        Attachments

          Activity

            People

            Assignee:
            marco.leo Marco Leo
            Reporter:
            igor.beslic Igor Beslic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.1