Home | History | Annotate | only in /external/parameter-framework/upstream/test/functional-tests-legacy
Up to higher level directory
NameDateSize
ACTCampaignEngine.py21-Aug-20183.2K
CMakeLists.txt21-Aug-20183.3K
PfwTestCase/21-Aug-2018
README.md21-Aug-2018996
Util/21-Aug-2018
xml/21-Aug-2018

README.md

      1 #Functional test
      2 
      3 #What ?
      4 Create a test suite for all tests about SET/GET commands.
      5 Types,functions and Domains are tested.
      6 
      7 #How ?
      8 We set environment variables in the cmake.
      9 All temporary file are stored in the build directory.
     10 XML files depends on cmake variables so they are configured at build time and stored in {build_dir}/tmp.
     11 
     12 We launch the functional tests with ACTCampaignEngine.py. This script launch every test present in the PfwTestCase directory. Note that functional tests cannot be launched using directly the script.
     13 We finalize the environment setting in this script. isAlive and needResync are needed by the subsystem.
     14 To avoid dependancies between to consecutive test, we remove all the temporary files except XML files at the end of the tests.
     15 
     16 #Practical
     17 By default, the BUILD_TESTING flag is set to true.
     18 Once the makefile is created, we can launch the test by running :
     19 
     20     'make && make test'
     21 
     22 Note that you can also use 'ctest -V' if you want to have the logs details.
     23