aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_suite.py
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02[WIP] Add support for URI hex escape decodingDavid Robillard1-0/+1
2023-12-02Add model and serd-sort utilityDavid Robillard1-4/+12
With all the new functionality, the complexity of the serd-pipe command-line interface is starting to push the limits of available flags. So, instead of grafting on further options to control a model, this commit adds a new tool, serd-sort, which acts somewhat like a stripped-down serd-pipe that stores statements in a model in memory. This keeps the complexity (including the user-facing complexity) of any one tool down, since other more focused tools can be used for streaming tasks in a pipeline. In other words, abandon Swissarmyknifeism, take a page from the Unix philosophy, and try to expose the model functionality to the command-line in a dedicated focused tool. The model implementation is tested by using this tool to run a subset of the usual test suites, and a special suite to test statement sorting.
2023-12-02Add statement filter sink and serd-filter toolDavid Robillard1-3/+2
2023-12-02Factor out and rewrite command-line interfaceDavid Robillard1-2/+1
2023-12-02Collapse input and output options into single flagsDavid Robillard1-1/+1
2023-12-02Add command-line option to write output to a fileDavid Robillard1-5/+4
2023-12-02Add base URI command-line optionDavid Robillard1-11/+13
2023-12-02Rename serdi to serd-pipeDavid Robillard1-3/+3
2023-12-02Move serdi to tools subdirectoryDavid Robillard1-1/+1
This separates the command-line tool code from the library implementation.
2023-04-06Simplify stdout capturing codeDavid Robillard1-4/+2
This is slightly less excruciatingly slow on Windows, sometimes, maybe.
2023-04-06Fix flake8 warnings and add testDavid Robillard1-1/+1
2023-04-05Replace complicated test support codeDavid Robillard1-4/+14
Everything covered by the old hairy runner script is now covered by more focused test suites, so the "thru" pass can be eliminated without losing significant coverage.
2023-04-05Run lax suite with the simpler runner scriptDavid Robillard1-3/+39
2023-04-05Test adding blank node prefixes separatelyDavid Robillard1-6/+8
2023-04-05Add pretty-printing test suiteDavid Robillard1-0/+125
The earlier "test" was just hitting the code without actually checking the output. This new suite is a set of pretty-printed documents which serd must reproduce exactly to pass. This should make it easy to add cases in the future, since each case is just a document, as it should look.