Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-25 | feat: typeset scenarios by typesetting steps | Lars Wirzenius | 1 | -0/+79 | |
Typeset each step in a scenario, including captures in the steps. Previously the scenario was just one <pre> element, now things can be styled with CSS. Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author | |||||
2023-08-12 | subplot: Enable passing of location into the template expansion | Daniel Silverstone | 1 | -0/+4 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2023-08-12 | steps: Pass location information into scenarios and scenario steps for error ↵ | Daniel Silverstone | 1 | -10/+25 | |
messages Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2023-06-07 | feat! don't allow indented scenario steps | Lars Wirzenius | 1 | -1/+5 | |
Some day we will have syntax for continuing a step to the next line. This change makes it easier to introduce that syntax, without a breaking change. Sponsored-by: author | |||||
2023-02-11 | chore: use variables in Rust format strings | Lars Wirzenius | 1 | -1/+1 | |
Change this: format!("{}", foo) into this: format!("{foo}") Support for this feature was added in Rust 1.58 (see https://github.com/rust-lang/rust/releases/tag/1.58.0) and in 1.67 clippy suggests about this. Because the new style seems to be where the Rust ecosystem is going, I think Subplot should follow to avoid being needlessly different from most other projects. Sponsored-by: author | |||||
2022-05-05 | refactor: drop the subplot::Result type alias | Lars Wirzenius | 1 | -2/+5 | |
Replace subplot::Result<T> with Result<T, SubplotError>. I find this now to be clearer, as I don't need to remind myself which Result is being used where. This should not be a breaking change. Sponsored-by: author | |||||
2020-11-21 | chore(src/visitor/structure.rs): push a char instead of push_str | Lars Wirzenius | 1 | -1/+1 | |
Doesn't change the result, but it's cleaner to push a character instead of push_str a single-character string. | |||||
2020-06-20 | test: Ensure that scenario keywords match insensitively | Daniel Silverstone | 1 | -2/+2 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-06-20 | feat: Scenario keyword caseless matching | Daniel Silverstone | 1 | -1/+1 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-05-09 | Change: keep actual text of keyword from scenario | Lars Wirzenius | 1 | -10/+22 | |
The typesetting should preserve the actual keyword or alias in the source. Previously, if source had this: ``` given foo and bar ``` it got typeset as if were: ``` given foo given bar ``` Also, change subplot.md to use alias when possible. | |||||
2020-04-19 | parse: Ensure continuation keywords cannot be used too early | Daniel Silverstone | 1 | -11/+21 | |
We switch from assuming a continuation of `Given` by default to passing Option<StepKind> around and ensuring that we do not succeed in parsing a step if that is None. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-03-30 | Refactor: rename OurError to SubplotError | Lars Wirzenius | 1 | -2/+2 | |
On consideration, it's a clearer name. I've been trying to avoid using "subplot" in the identifiers, in case we ever have to rename the project again, but I think this is worth it. | |||||
2020-03-28 | Change: use thiserror to simplify errors.rs | Lars Wirzenius | 1 | -2/+2 | |
2020-02-15 | Add: add support for "and" and "but" keywords | Lars Wirzenius | 1 | -5/+19 | |
2020-01-08 | Change: use tera templates for generating Python code | Lars Wirzenius | 1 | -2/+3 | |
2020-01-06 | Add: progress reporting in generated test program | Lars Wirzenius | 1 | -0/+18 | |
2019-12-29 | Refactor: rustfmt | Lars Wirzenius | 1 | -1/+0 | |
2019-12-28 | Add: missing documentation comments | Lars Wirzenius | 1 | -0/+5 | |
2019-12-28 | Fix: nitpicks found by cargo clippy | Lars Wirzenius | 1 | -7/+7 | |
These all seem to make sense to me. | |||||
2019-12-28 | Fix: use of missing_docs directive | Lars Wirzenius | 1 | -2/+0 | |
2019-12-22 | Change: add steps to scenarios | Lars Wirzenius | 1 | -1/+1 | |
2019-12-14 | Refactor: use ? for error result return | Lars Wirzenius | 1 | -1/+1 | |
2019-12-14 | Add: UnknownStepKind error | Lars Wirzenius | 1 | -3/+7 | |
2019-12-14 | Change: fix or add doc comments everywhere | Lars Wirzenius | 1 | -3/+9 | |
2019-10-27 | Add: function to parse a scenario step | Lars Wirzenius | 1 | -0/+54 | |
2019-10-26 | Add: docstrings | Lars Wirzenius | 1 | -1/+12 | |
2019-10-20 | Change: make StepKind, ScenarioStep derive useful traits | Lars Wirzenius | 1 | -1/+2 | |
2019-10-20 | Add: module for representing parsed scenario step | Lars Wirzenius | 1 | -0/+30 | |