fixing spelling
This commit is contained in:
parent
706eec7631
commit
79f44e6fe1
4
raco.rkt
4
raco.rkt
|
@ -39,8 +39,8 @@
|
|||
[("-e" "--exclude-from-output") t
|
||||
"exclude any paths named this from the coverage report."
|
||||
(set! exclude-paths (cons t exclude-paths))]
|
||||
[("-i" "--include-extentions") f
|
||||
"include these extentions in files to cover."
|
||||
[("-i" "--include-extensions") f
|
||||
"include these extensions in files to cover."
|
||||
(set! include-exts (cons f include-exts))]
|
||||
[("-s" "--submodule") s
|
||||
"Run the given submodule instead of the test submodule"
|
||||
|
|
|
@ -11,7 +11,7 @@ functions of test coverage.
|
|||
|
||||
@defproc[(test-files! (#:submod submod symbol? 'test) (files path-string?) ...) any/c]{
|
||||
|
||||
Runs all given @racket[files] and there submodule @racket[submod] (if it exitsts),
|
||||
Runs all given @racket[files] and there submodule @racket[submod] (if it exists),
|
||||
storing the coverage information. Returns false if tests failed. Test coverage
|
||||
information is still collected when test fail. Test coverage info is added to
|
||||
existing coverage info.}
|
||||
|
@ -26,7 +26,7 @@ existing coverage info.}
|
|||
]{
|
||||
Given some location in a file and the
|
||||
coverage information for that file @racket[make-covered?] returns
|
||||
a functions that determins if some @racket[1] indexed character or byte location
|
||||
a functions that determines if some @racket[1] indexed character or byte location
|
||||
in that file is covered. There are three possible results:
|
||||
@itemize[@item{@racket['missing] --- The location is not in the
|
||||
coverage information, is in a submodule, or lexes (in the sense of that languages
|
||||
|
@ -47,7 +47,7 @@ formats. Equivalent to the specifications of the @Flag{c} argument to
|
|||
#:value (hash/c (and/c path-string? absolute-path?)
|
||||
file-coverage/c)]
|
||||
@defthing[file-coverage/c contract? #:value (listof (list/c boolean? srcloc?))])]{
|
||||
Coverage infomation is a hash map mapping absolute
|
||||
Coverage information is a hash map mapping absolute
|
||||
file paths to a list detailing the coverage of that file. The coverage
|
||||
information is a list of lists, mapping a boolean to a range of
|
||||
characters within the file. True means the @racket[srcloc] structure
|
||||
|
|
|
@ -32,7 +32,7 @@ The @exec{raco cover} command accepts the following flags:
|
|||
outputted coverage. This flag may appear any number of times.}
|
||||
@item{@Flag{p} or @DFlag{exclude-pkg-defaults}
|
||||
Equivalent to @exec{-e tests -e info.rkt -e scribblings}}
|
||||
@item{@Flag{i} or @DFlag{include-extentions}
|
||||
@item{@Flag{i} or @DFlag{include-extensions}
|
||||
--- include the given regular expression in the list of file patterns
|
||||
used when expanding directories, searching for files to cover.}
|
||||
@item{@Flag{v} or @DFlag{verbose}
|
||||
|
|
Loading…
Reference in New Issue
Block a user