Forum Discussion

Philip_Baird's avatar
Philip_Baird
Community Expert
13 years ago

Documenting JScript with JSDoc3

I would like to document my JScript code using JSDoc3 but cannot get it to work  as Test Complete creates files with an extension of .sj which JSDoc3 doesn not seem to allow.



I can do this successfully using JSDoc toolkit (no longer supported or being developed) which allows non .js files using the command line switch -x=sj but from what I can see this switch is no longer available in JSDoc3.



Has anyone successfully documented JScript code in in Test Complete using JSDoc3 and if so, could the shed some light on how this can be done?

29 Replies

  • chrisb's avatar
    chrisb
    Regular Contributor
    Thanks Sergi. I recently tried to use JSDoc and am getting some errors. I think they are encoding related.

    Please add my vote for a documentation tool too!
    • dbattaglia's avatar
      dbattaglia
      Contributor

      TanyaYatskovska, will you please add a vote to the database for script documentation for me?

      Having this feature built in would be a very big help to many of us.

       

      All, thanks for sharing your workarounds.

      • chrisb's avatar
        chrisb
        Regular Contributor

        I'd suggest adding a 'how to'  guide in the Test Complete documentation for a couple of popular documentation tools such as YUI docs or JSDoc. Adding a documentation feature would be re-inventing the wheel.