Forum OpenACS Development: Announcement: improved api-doc with calling information, call-graph and test coverage
as some of you might have noticed on openacs.org, the HEAD version of the api-doc browser has several new features. The API browser
- shows now calling information (who is calling an API function)
- shows information of called API functions
- shows calling information from other API calls (include protection and deprecated information),*init.tcl files and web pages (from www and lib)
- shows test coverage (in case the regression test correctly provides this information)
The second example shows the call-graph of the API call apm_load_packages, which is called by a init file and calls serval other functions.
Hope this helps people not to get lost in the code, ... and maybe, we get on the longer range a better test coverage.
all the best
It helps not only tests, but also many other aspects such as pkg upgrades, error debugging sessions. They are much better now. ad_proc relationshiops are visual now!
This is very useful.
Glad to learn about the -procs parameter for aa_register_case also.
Thank you, Gustaf and co-core-developers!
I'll try UI testing soon as I'm ramping up UI development on a suite of packages now.