Aaron Meihm
97a758a912
bind result format helper functions to TestResult
2015-07-15 14:45:33 -05:00
Aaron Meihm
7a03dff83f
add some additional clarification of Bootstrap()
2015-07-15 10:17:36 -05:00
Aaron Meihm
a9e1f0fc8d
make struct member comments inline to preserve fmt alignment
2015-07-15 10:16:06 -05:00
Aaron Meihm
d26011b226
add override for SimpleFileLocator locate() function
2015-07-14 21:20:37 -05:00
Aaron Meihm
caa3e133f5
pass document as a pointer to GetResults()
2015-07-14 14:56:45 -05:00
Aaron Meihm
76dd9ddc38
document some results functions
2015-07-14 14:49:51 -05:00
Aaron Meihm
6f01df3ac5
add line based output helper and mode for scribecmd
2015-07-14 14:46:36 -05:00
Aaron Meihm
4507e6961f
include aliases and identifier in test result
2015-07-14 14:35:46 -05:00
Aaron Meihm
7bf4d52a93
testresult formatting
2015-07-14 14:31:45 -05:00
Aaron Meihm
fe582146c4
more cleanup around type exports and start json results
2015-07-14 14:13:02 -05:00
Aaron Meihm
06ff9a113f
resolve a bunch of unnecessary type exports
2015-07-14 00:20:17 -05:00
Aaron Meihm
c0fad961bb
dont export EVR type
2015-07-14 00:03:29 -05:00
Aaron Meihm
96b4e9f802
add documentation around TestEvrCompare()
2015-07-13 23:42:39 -05:00
Aaron Meihm
c828816d98
add documentation link
2015-07-13 23:40:22 -05:00
Aaron Meihm
ab7bf3162d
cleanup godoc output
2015-07-13 23:34:50 -05:00
Aaron Meihm
4bf6275709
update README
2015-07-13 22:33:14 -05:00
Aaron Meihm
8d798b154a
add version string
2015-07-13 22:22:50 -05:00
Aaron Meihm
71fc5a07e9
if a test is a modifier, ensure it includes valid sources
2015-07-13 22:10:49 -05:00
Aaron Meihm
a76b89868f
add validation for test sources
2015-07-13 22:01:15 -05:00
Aaron Meihm
db0846a475
add validation phase for tests
2015-07-13 21:36:54 -05:00
Aaron Meihm
aacdf01b6a
more explicit handling of pure integer components in version string
2015-07-13 17:20:00 -05:00
Aaron Meihm
3be77f6179
update concat test with correct document
2015-07-13 17:01:52 -05:00
Aaron Meihm
478aa68a4e
return no criteria for modifier is no source data is present
2015-07-13 12:27:40 -05:00
Aaron Meihm
82333f2bed
add tests for concat
2015-07-13 12:16:26 -05:00
Aaron Meihm
e33822af74
support modifiers that consume data from other tests
...
modifiers will consume data from other tests, and combine test data
together. modifiers can be used as a test on their own, where the source
data for the evaluator will be the modifier sub-test information.
2015-07-13 10:53:01 -05:00
Aaron Meihm
1f5a55528a
improve filecontent to manage results more clearly
...
previously fileContentMatch returned [][]string, with the first
dimension being a line and the second the full match and any groups.
This has been replaced with a lineMatch type that isolates the full line
matched from any groups present. the groups that are present in the line
are used as criteria for evaluation as before.
2015-07-12 13:41:55 -05:00
Aaron Meihm
ba4bb3e4f7
add comment about rpmvercmp in evrops
2015-07-12 13:12:09 -05:00
Aaron Meihm
016a369113
remove panics from evrops
...
the imported version of evrops from mozoval had a number of cases that
would result in a panic, these have been replaced with returned errors.
2015-07-12 13:01:34 -05:00
Aaron Meihm
1d06e45f97
add package test for bad evr operation
2015-07-12 12:50:43 -05:00
Aaron Meihm
833e7a4d3a
remove quoting in invalid evr operation error
...
remove quoting for consistency with other output for operation.
2015-07-12 12:47:46 -05:00
Aaron Meihm
e1de9ce08c
add tests for package source type
2015-07-11 15:40:56 -05:00
Aaron Meihm
9f8b845941
gitignore: ignore pkg and bin directories
2015-07-10 21:51:07 -05:00
Aaron Meihm
b04d4cd3eb
disable email notifications
2015-07-08 18:21:50 -05:00
Aaron Meihm
8aa3e6fb91
add travis.yml
2015-07-08 18:12:44 -05:00
Aaron Meihm
2312116eba
add tests for evr operations
2015-07-08 15:30:57 -05:00
Aaron Meihm
d99dede9e0
add some filename tests
2015-07-08 14:58:33 -05:00
Aaron Meihm
3c4e9be374
add a new filename source type
2015-07-08 14:40:51 -05:00
Aaron Meihm
5061629e24
fix symbol visibility for filecontent
2015-07-08 09:45:54 -05:00
Aaron Meihm
67069d0ba5
if a test dependency fails, include the name of the failed test in error
2015-07-08 09:02:52 -05:00
Aaron Meihm
372a041947
some additional comments around tests
2015-07-08 08:58:28 -05:00
Aaron Meihm
41dcc71002
pass document pointer in prepare() instead of variable list
2015-07-08 08:36:47 -05:00
Aaron Meihm
65ac3730f3
remove extra code in AnalyzeDocument()
2015-07-08 08:25:52 -05:00
Aaron Meihm
fd4c726f03
additional file content test
2015-07-07 16:00:51 -05:00
Aaron Meihm
64252e61b3
initial tests for filecontent
2015-07-07 15:50:48 -05:00
Aaron Meihm
98c5320a3b
initial test automation through make
2015-07-07 15:27:18 -05:00
Aaron Meihm
1ecb694bad
add gitignore
2015-07-07 15:26:31 -05:00
Aaron Meihm
bad1e052fe
add an exit hook for test automation
2015-07-07 14:55:14 -05:00
Aaron Meihm
f4968baae6
add a couple files missing from previous commits
2015-07-07 14:30:54 -05:00
Aaron Meihm
20a2e09a23
set master result based on dependency tests
2015-07-07 13:39:36 -05:00
Aaron Meihm
09d3340c6e
variable expansion for target package name
2015-07-07 13:21:16 -05:00