You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Texdoc used to have only limited test scripts. Since I became a maintainer of the program, I have been trying to write comprehensive test scripts with RSpec + Aruba, but the work is still in progress.
Here's a rough plan of the entire specs (this will be updated accordingly):
action
files: the --files action
help: the --help action
version: the --version action
just view: the --just-view action
config
built-in: the default values
environment variables: does ENV work?
texdoc.cnf: does texdoc.cnf work?
texdoc-dist.cnf: is the shipped texdoc.cnf fine?
misc
errors: error messages and status codes
getopt: the command line option (CMO) parser
verbose: info messages (messages output with -v option)
mode
view: the view mode (-w)
mixed: the mixed mode (-m)
list: the list mode (-l)
showall: the showall mode (-s)
score
adjscore: the adjscore directive
heuristic: the heuristic pattern score, bonus score
order: docfile order
search
fuzzy: fuzzy search
aliases: the aliases in texdoc.cnf
texdocs: documents in TEXDOCS
database: documents in databases
unit
texdoclib: check for overall behavior
alias: unit tests for texdoclib-alias.tlu
score: unit tests for texdoclib-score.tlu
search: unit tests for texdoclib-search.tlu
util: unit tests for texdoclib-util.tlu
view
file detection: for each extension
command: the view commands
The text was updated successfully, but these errors were encountered:
Texdoc used to have only limited test scripts. Since I became a maintainer of the program, I have been trying to write comprehensive test scripts with RSpec + Aruba, but the work is still in progress.
Here's a rough plan of the entire specs (this will be updated accordingly):
--files
action--help
action--version
action--just-view
actionThe text was updated successfully, but these errors were encountered: