rdoc
rdoc copied to clipboard
End to end testing for `RDoc#generate`
Currently no tests cover RDoc#generate which means we're not testing:
- The file generation logic
- The output message of doc generation
To test it right, we need to make sure we generate the documentation in a isolated place (e.g. a temp folder) and the files must be cleaned up after each test run.
"End-to-end" means (?):
- Front end (input) is:
-
.rbfiles with embedded doc. -
.cfiles with embedded doc. -
.mdfiles. -
.rdocfiles.
-
- Back end (output) is:
- HTML files (darkfish).
- RI files.