SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    69
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    GetTestsPassedCount () returning total passed for entire suite

    I have the following functions defined in my own version of ScriptExit:

    GetTestsPassedCount()
    GetTestsFailedCount()
    etc....

    I have a suite file that calls four script files

    e.g.

    regression_login.t
    regression_joblist.t
    regression_qt.t
    regression_contacts.t

    the problem that I am having is that GetTestsPassedCount is returning a running total of the tests that passed for the whole suite. What I want is to return the tests that passed for just each script.

    When looking at the results file for this suite the top summary shows a summary of all the running totals for all test scripts. If I select a script then select menu results/ show summary it shows the totals for that particular script. This is what I want in my script exit but it seems like I can only get a running total for the entire suite. Any ideas?



    ------------------

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: GetTestsPassedCount () returning total passed for entire suite

    This should work for you:

    ScriptEnter resets global count variables; ScriptExit subtracts the accumulated value to leave what you're looking for.


    John


    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:29 AM.

Copyright BetaSoft Inc.