Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDK 1.3.0
    • Component/s: None
    • Template:
    • Method Found:
      Customer Feedback
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Fixes a bug where the options passed into --tests for pdk test unit were never passed to the unit test handler.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Somewhere in the call chain, the --tests arguments get lost:

      david@davids:~/tmp/testmod$ pdk test unit --list
      Examples:
      ./spec/classes/testclass_spec.rb[1:1:1]	testmod::testclass on debian-8-x86_64 
      ./spec/classes/testclass_spec.rb[1:2:1]	testmod::testclass on windows-2012-x64 
      ./spec/classes/testclass_spec.rb[1:3:1]	testmod::testclass on windows-2012 R2-x64 
      ./spec/classes/testclass_spec.rb[1:4:1]	testmod::testclass on ubuntu-16.04-x86_64 
      ./spec/classes/testclass_spec.rb[1:5:1]	testmod::testclass on redhat-7-x86_64 
      ./spec/classes/testmod_spec.rb[1:1:1]	testmod on debian-8-x86_64 
      ./spec/classes/testmod_spec.rb[1:2:1]	testmod on windows-2012-x64 
      ./spec/classes/testmod_spec.rb[1:3:1]	testmod on windows-2012 R2-x64 
      ./spec/classes/testmod_spec.rb[1:4:1]	testmod on ubuntu-16.04-x86_64 
      ./spec/classes/testmod_spec.rb[1:5:1]	testmod on redhat-7-x86_64 
      david@davids:~/tmp/testmod$ pdk test unit --tests=./spec/classes/testclass_spec.rb --debug
      pdk (DEBUG): Checking for missing Gemfile dependencies.
      pdk (DEBUG): PDK package installation not found, trying 'bundle' from the system PATH instead
      pdk (DEBUG): Executing 'bundle check --gemfile=/home/david/tmp/testmod/Gemfile --path=/home/david/.pdk/cache'
      pdk (DEBUG): Execution of 'bundle check --gemfile=/home/david/tmp/testmod/Gemfile --path=/home/david/.pdk/cache' complete (duration: 0.143988005s; exit code: 0)
      pdk (DEBUG): Running /home/david/tmp/testmod/bin/rake spec
      pdk (DEBUG): Executing '/home/david/tmp/testmod/bin/rake spec'
      pdk (DEBUG): Execution of '/home/david/tmp/testmod/bin/rake spec' complete (duration: 4.020200342s; exit code: 0)
        Evaluated 10 tests in 0.590160851 seconds: 0 failures, 0 pending
      david@davids:~/tmp/testmod$ 
      

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                david.schmitt David Schmitt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: