Commit Graph
10 Commits
Author SHA1 Message Date
swaits 85f4b69e61 flow initialization: Added configuration file. 2015-02-14 23:50:10 -08:00
swaits 8e3995b45c add tests for very simple fetching and parsing
* added test for fetching a known file and verifying its content matches
* add test for parsing a known string and verify URLs are extracted
* add test for a request which doesn't exist and verify 404 is received (canary test)
* add comments throughout test (for each test function)
* wrote (stupidly) simple fetcher which takes a URL, GETs it, and returns the body and error
* wrote (stupidly) simple parser which takes a string, parses out (src|href|xhref)="...", and returns a slice of the captured links
* added needed html files
2015-02-14 23:49:35 -08:00
swaits 9f411ee00b clean up the output of tests 2015-02-14 22:39:55 -08:00
swaits 32d3f82325 move some magic numbers to constants in test harness 2015-02-14 22:18:31 -08:00
swaits 21e1fb3451 initial vendor commit 2015-02-14 21:53:22 -08:00
swaits 747c805a82 add "make env" to dump the "go env" from within the make environment 2015-02-14 21:52:58 -08:00
swaits aaa5f639cf oops! ignored the wrong bin directory in .hgignore. fixed. 2015-02-14 21:50:02 -08:00
swaits 3bce3ccd2a add test harness web server
* plus "make autotest" runs "make test" once first
* add .hgignore
2015-02-14 21:46:52 -08:00
swaits da7c5ba57c design doc update 2015-02-14 21:11:10 -08:00
swaits b0e64c7973 initial commit, empty go project, plus simple design doc 2015-02-14 21:00:18 -08:00