<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10607</bug_id>
          
          <creation_ts>2016-11-04 23:00:34 +0000</creation_ts>
          <short_desc>Creation of unit test suite for DevAuto package and its sub packages</short_desc>
          <delta_ts>2016-12-21 21:03:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M2</target_milestone>
          
          <blocked>9689</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</reporter>
          <assigned_to name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</assigned_to>
          
          
          <qa_contact name="Benjamin Esquivel">benjamin.esquivel</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68007</commentid>
    <comment_count>0</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2016-11-04 23:00:34 +0000</bug_when>
    <thetext>With the purpose of having a way to automate testing the main methods the DevAuto package provides, and enable fast automated regression for future changes, it becomes necessary to add unit tests to the project. For this purpose, two approaches will be used by leveraging the Python unittest library and doctest functionality in conjunction with a script to execute the tests, collect the results and generate the logs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68008</commentid>
    <comment_count>1</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2016-11-04 23:23:18 +0000</bug_when>
    <thetext>Received an updated branch of DevAuto project from Benjamin Esquivel with enhancements to it, including unittest and doctest test cases for testing importing DevAuto, a working script that executes both types of test cases, collects their results and generates an xml report by leveraging XMLTestRunner, if installed, or generating a simple text file otherwise.
I added test cases for validating the controller classes&apos; instantiation and methods in each one of its current sub-packages: kbemu, usbmux and rps.
I&apos;ll add additional tests to cover all methods using the test mock up modules in each sub-package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69288</commentid>
    <comment_count>2</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2016-12-21 21:03:40 +0000</bug_when>
    <thetext>Unit tests have been integrated on the devauto repository&apos;s master branch. Closing as fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>