aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Fix timeout test.Aldo Cortesi2012-11-181-1/+1
| | |
| | * Add disconnect specifiers to test suite.Aldo Cortesi2012-11-184-14/+14
| | | | | | | | | | | | Fixes hangs seen in test suite with recent versions of requetss.
| | * Expand basic fuzzing example.Aldo Cortesi2012-11-161-6/+23
| | |
| | * Add :u shortcut example.Aldo Cortesi2012-11-162-3/+7
| | | | | | | | | | | | Update trove specifiers, netlib dependency.
| | * :u belongs on Request not ResponseAldo Cortesi2012-11-162-3/+4
| | |
| | * Update changelog.Aldo Cortesi2012-11-161-1/+7
| | |
| | * Add u User-agent shortcut.Aldo Cortesi2012-11-167-8/+84
| | | | | | | | | | | | | | | | | | | | | | | | Usage: 200:ua - Shortcut "a" for Android. 200:u"foo" - Or a value literal Shortcuts can be listed using the --show-uas argument to pathoc.
| | * Fix typo.Aldo Cortesi2012-11-021-2/+2
| | |
| | * Examples and documentation.Aldo Cortesi2012-11-029-30/+37
| | |
| | * Merge branch 'master' of ssh.github.com:cortesi/pathodAldo Cortesi2012-10-310-0/+0
| | |\
| | | * Bump version, update CHANGELOGAldo Cortesi2012-10-312-1/+30
| | | |
| | * | Bump version, update CHANGELOGAldo Cortesi2012-10-314-3/+32
| | |/
| | * Use .freeze to implement the -e explain flags for pathod and pathoc.Aldo Cortesi2012-10-317-7/+40
| | | | | | | | | | | | | | | This now prints (in pathoc) or logs (in pathod) a frozen specification that includes an expanded record of all generated values and locations.
| | * Fix generated values in request path specification.Aldo Cortesi2012-10-312-2/+7
| | |
| | * Add a .freeze() method to all components.Aldo Cortesi2012-10-312-45/+171
| | | | | | | | | | | | | | | This expands and freezes all randomly generated values. The message returned can be queried for a precise spec to reproduce the message.
| | * Add a .values method to messages, simplify a lot of stuff as a consequence.Aldo Cortesi2012-10-303-34/+24
| | |
| | * Make Message classes more self-contained.Aldo Cortesi2012-10-302-45/+51
| | |
| | * Extract .serve() method from message classes.Aldo Cortesi2012-10-305-75/+73
| | |
| | * Change preview_safe to return a safe copy of the current message.Aldo Cortesi2012-10-305-19/+13
| | |
| | * Simplify Request/Response class hierarchy.Aldo Cortesi2012-10-302-59/+36
| | |
| | * Add .spec methods for Request and Response objects.Aldo Cortesi2012-10-292-7/+26
| | |
| | * Add a .spec method to the token ABC, and to all tokens.Aldo Cortesi2012-10-292-31/+99
| | |
| | * Refactoring: canonical storage of a message is now the sequence of tokens ↵Aldo Cortesi2012-10-292-89/+70
| | | | | | | | | | | | | | | | | | | | | that defines it. We use a set of accessor properties to ease access to tokens. We can now ditch the .accept() methods.
| | * Cleaup, some more ABCs.Aldo Cortesi2012-10-292-60/+82
| | |
| | * Change response spec format to code[:features]Aldo Cortesi2012-10-286-34/+43
| | | | | | | | | | | | Reason message is now specified as just another feature with the "m" mnemonic.
| | * Cleaup, ABC for Value classes.Aldo Cortesi2012-10-283-22/+24
| | |
| | * Clean up .accept() signature.Aldo Cortesi2012-10-282-25/+31
| | |
| | * Split Code and Reason into separate _Component objects.Aldo Cortesi2012-10-282-30/+52
| | |
| | * .body and .method to lazy generator instantiation.Aldo Cortesi2012-10-282-24/+56
| | | | | | | | | | | | Also introduce a _Component ABC.
| | * Move message body to new lazy-generator scheme.Aldo Cortesi2012-10-287-21/+33
| | |
| | * Adjust serve() API.Aldo Cortesi2012-10-285-27/+27
| | |
| | * Remove check argument to serve() methods.Aldo Cortesi2012-10-276-64/+51
| | | | | | | | | | | | | | | | | | | | | Refactoring means we can now do this without a callback. Also introduce the maximum_length method that estimates the max possible message length.
| | * Major refactoring towars separate representation of expressions and ↵Aldo Cortesi2012-10-274-99/+91
| | | | | | | | | | | | request/response service.
| | * Unit test suite love: 100% coverageAldo Cortesi2012-10-258-14/+52
| | | | | | | | | | | | Also start figuring out how to sanitize binary data in the JSON API.
| | * Start moving policy checks to service-time, rather than parse-time.Aldo Cortesi2012-10-255-87/+64
| | |
| | * Extend Action and Value classesAldo Cortesi2012-10-242-65/+165
| | | | | | | | | | | | | | | | | | - Values now know how to print their own specs - Actions now know how to print their own specs - Actions have a resolve_offset method that resolves relative and random offsets.
| | * Start making Action objects more sophisticated.Aldo Cortesi2012-10-052-11/+38
| | |
| | * Remove actions log and explain, preparing for a more sophisticated take on this.Aldo Cortesi2012-10-053-28/+3
| | |
| | * Add a simple libpathod.pathoc exampleAldo Cortesi2012-10-051-0/+6
| | |
| | * rparse.py -> language.pyAldo Cortesi2012-10-057-128/+128
| | |
| | * Stub out documentation changesAldo Cortesi2012-10-044-19/+43
| | |
| | * Add -q and -r flags to pathod, logging request and respnose bytes.Aldo Cortesi2012-10-013-43/+69
| | | | | | | | | | | | | | | | | | | | | - These flags also mean that a bytes log is included in the internal log buffer. - There's an -x flag to turn on hex dump output in the text logs (does not affect the log buffer).
| | * Add timeout argument to Pathod, and matching -t command-line option.Aldo Cortesi2012-10-014-4/+30
| | |
| | * Add pathoc -T to ignore timeouts.Aldo Cortesi2012-09-283-4/+12
| | | | | | | | | | | | Also move -c to -C for consistency.
| | * Add pathoc -o, oneshot mode, exits after the first non-ignored response.Aldo Cortesi2012-09-272-2/+11
| | |
| | * Add pathoc -c to specify a list of return codes to ignore.Aldo Cortesi2012-09-273-27/+50
| | |
| | * Refactor print_requests -> print_requestAldo Cortesi2012-09-263-61/+58
| | | | | | | | | | | | | | | - Change to handle one request at a time - Shift error handling around
| | * Expand the docs to explain pathoc multiple requests.Aldo Cortesi2012-09-261-0/+37
| | |
| | * Response printingAldo Cortesi2012-09-262-33/+35
| | | | | | | | | | | | Options to output full response, as sniffed from the socket.
| | * Hex and verbatim output of requests.Aldo Cortesi2012-09-263-5/+21
| | | | | | | | | | | | | | | This works by sniffing traffic through the socket, so always gives us the exact traffic sent upstream.