The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Talk:Quality/Test processes

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
(Test mapping / Test plan configuration)
(Test mapping / Test plan configuration)
Line 11: Line 11:
 
name: Release testing
 
name: Release testing
 
devices: [ chroot virtual n900 ]
 
devices: [ chroot virtual n900 ]
 +
 
kickstart bases:
 
kickstart bases:
   chroot: chroot-release.ks
+
   - chroot: chroot-release.ks
   virtual: virtual-image-core.ks
+
   - virtual: virtual-image-core.ks
   n900: mer-core-n900.ks
+
   - n900: mer-core-n900.ks
 +
 
 
default options:
 
default options:
   filter: "testset=core"
+
   - filter: "testset=core"
   default package naming: "-tests"
+
   - default package naming: "-tests"
rules:
+
 
   alc:
+
default packages:
    -test: acl-tests
+
   - mer-core-sanity-tests
    -filter: "name=unittests"
+
      device: [virtual n900]
     -versio: < 1.5.0
+
  - mer-core-chroot-tests
     -device: [virtual n900]
+
      device: [chroot]
 +
 
 +
packages:
 +
  - alc:
 +
    filter: "name=unittests"
 +
     versio: < 1.5.0
 +
     device: [virtual n900]
 +
 
 +
  - bluez
 +
 
 +
  - qt5base:
 +
    test packages:
 +
      - mwts-location-tests
 +
        filter: "type=functional"
 +
        versio: 2.3.1
 +
        device: [virtual n900]
 +
      - qt5base-unittests
  
 
</pre>
 
</pre>

Revision as of 11:06, 22 April 2012

Test mapping / Test plan configuration

Test mapping.png

  1. Test request comes in. The request has parameter such as stage and changed package list
  2. Testplanner reads the configuration/mapping file and creates test plan(s)
  3. Kickstart files are delivered to image builder and test plans for test automation

Mapping/configuration file:

name: Release testing
devices: [ chroot virtual n900 ]

kickstart bases:
  - chroot: chroot-release.ks
  - virtual: virtual-image-core.ks
  - n900: mer-core-n900.ks

default options:
  - filter: "testset=core"
  - default package naming: "-tests"

default packages:
  - mer-core-sanity-tests
      device: [virtual n900]
  - mer-core-chroot-tests
      device: [chroot]

packages:
  - alc:
    filter: "name=unittests"
    versio: < 1.5.0
    device: [virtual n900]

  - bluez

  - qt5base:
    test packages:
      - mwts-location-tests 
        filter: "type=functional"
        versio: 2.3.1
        device: [virtual n900]
      - qt5base-unittests

Personal tools