Results 1 to 3 of 3
  1. #1

    Calling main () externally

    If you had a source file that consisted only of a single
    main () function, how would you
    1) Invoke the function from a plan file, and
    2) Invoke the function from a testcase/function in another file?

  2. #2

    Re: Calling main () externally

    You don't. You invoke/call testcases from a plan. You can't really call the main() function. It is the function that will run when you try executing a script. But you call call test cases and other functions from within main().

  3. #3

    Re: Calling main () externally

    [-] calling main from testplan
    [ ] script: myscript.t
    [ ] testcase: main
    Sean McCabe



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:36 PM.

Copyright BetaSoft Inc.