Bullseye : Quick Start on Linux System

Below is the brief summary for Bullseye in linux System including the Setup and view the test report.


üQuick Start on Linux System

  1. Insert  the BullseyeCoverage/bin     directory at the front of your PATH environment variable.

  2. Set   the COVFILE     environment variable to the path where you want the coverage file     created.  For example:
        export     COVFILE=`pwd`/test.cov # Bourne-compatible shell
        setenv     COVFILE `pwd`/test.cov # C shell

  3. Enable     coverage build. Do this with the command cov01 -1

  4. Rebuild     and run your test program as you normally do.

  5. View     results by running CoverageBrowser or covhtml.


üSetup

1.Mount the Bullseye license share.

   Install and add the License.

2.Add the following values at the end of .bashrc file

  export COVFILE=$HOME/CoverageFile.cov

  export PATH=/PROJ/LinuxTools/BullseyeCoverage/bin:$PATH

3.Enable coverage build

  Format : cov01 -option

  option values : 1 enable 

   0 disable

   s show status.


üreport

1.rebuild the peoject.

  Note: After enable the bullseye and setup the COVFILE, you must rebuild your project.

2.view .cov file in Coverage

  open Coverage in terminal with Command : CoverageBrowser &

  BullseyeCoverage shows source code with marks to the left side to indicate coverage events. 

  An arrow --> indicates incomplete coverage. 

  An X indicates one of: 

a function or lambda expression that was entered 

a switch label that was selected 

a try-block that finished 

an exception handler that was entered 

a range-based for statement body that was entered 

  A T or F indicates a boolean decision that evaluated true or false, respectively. 

  A t or f indicates a boolean condition within a decision if the condition evaluated true or false, respectively. 

  A k indicates a constant decision or condition. Since no variation in coverage is possible, this mark is supplementary. 

  The slash / means this probe is excluded from summary results. 

üBullseye testing technology official website

http://www.bullseye.com/help/


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章