Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
eb261ba
feat: introduce `Spec::extracting_ref` and `And` trait for extracting…
haraldmaida Mar 29, 2026
539d12d
Merge branch 'main' into feat/extracting-ref-for-asserting-multiple-f…
haraldmaida Mar 29, 2026
f187502
chore: run cargo fmt
haraldmaida Mar 29, 2026
5000f9c
feat: implement the rest of existing assertion traits for `DerivedSpec`
haraldmaida Mar 30, 2026
4f2395b
revert: remove method `with_configured_diff_format` from `DerivedSpec…
haraldmaida Mar 30, 2026
f670bcf
feat: implement the `And` trait for `Spec` as a no-op
haraldmaida Mar 30, 2026
a1f4bf9
refactor: rename module `extracting` to `derived_spec`
haraldmaida Mar 30, 2026
8073ae1
refactor!: extract common method `Spec::expecting` and `DerivedSpec::…
haraldmaida Apr 6, 2026
676106b
refactor: rename `And::Target` to `And::Output`
haraldmaida Apr 6, 2026
f2c1287
doc: write doc comment for the `derived_spec` module and the `And` trait
haraldmaida Apr 6, 2026
2f697d2
doc: adapt doc comment for `Spec::extracting` method to changed behavior
haraldmaida Apr 6, 2026
e13efde
feat: add parameter `property_name` to the `Spec::extracting_ref` and…
haraldmaida Apr 6, 2026
9fdf429
doc: improve phrasing in doc comment of `Spec::extracting` method
haraldmaida Apr 6, 2026
65acacc
Merge branch 'main' into feat/extracting-ref-for-asserting-multiple-f…
haraldmaida Apr 10, 2026
94b1846
doc: document new method `extracting_ref` and adapt doc comment of `e…
haraldmaida Apr 11, 2026
25829b4
feat: define trait `AssertOrderedElementsRef` and implement it for `S…
haraldmaida Apr 18, 2026
bf3093d
doc: fix broken links in doc comments
haraldmaida Apr 18, 2026
9deb9d9
test: rename test module `iterator_extracted_elements_ref` to `extrac…
haraldmaida Apr 18, 2026
43b406f
feat: implement `AssertOrderedElementsRef` for `DerivedSpec`
haraldmaida Apr 18, 2026
8936fc4
doc: fix typo in "verfiy"
haraldmaida Apr 18, 2026
e1921da
refactor!: extract methods `satisfies` and `satisfies_with_message` f…
haraldmaida Apr 19, 2026
345dfc9
chore: fix run configuration 'Doc' for Jetbrains IDEs
haraldmaida Apr 19, 2026
752493e
Merge branch 'main' into feat/extracting-ref-for-asserting-multiple-f…
haraldmaida Apr 19, 2026
84cefce
refactor!: extract the methods `Spec::each_element` and `Spec::any_el…
haraldmaida Apr 19, 2026
db427d7
feat: implement `AssertElements` for `DerivedSpec`
haraldmaida Apr 20, 2026
018042a
doc: fix links to `AssertElements` and `AssertFilteredElements` in do…
haraldmaida Apr 20, 2026
e77929e
doc: add examples for `extracting_ref` and `and` to the crate level d…
haraldmaida Apr 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .ide-settings/jetbrains/runConfigurations/Doc.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Doc" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
<option name="command" value="doc --all-features --no-deps" />
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
<envs />
<option name="emulateTerminal" value="false" />
<option name="channel" value="NIGHTLY" />
<option name="requiredFeatures" value="true" />
<option name="allFeatures" value="true" />
<option name="withSudo" value="false" />
<option name="buildTarget" value="REMOTE" />
<option name="backtrace" value="NO" />
<option name="isRedirectInput" value="false" />
<option name="redirectInputPath" value="" />
<method v="2">
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
</method>
</configuration>
</component>
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,9 @@ for iterators that yield items in a well-defined order.
| contains_all_in_order | verify that an iterator/collection contains all the given values and in the given order, possibly with other values between them |
| starts_with | verify that an iterator/collection contains the given values as the first elements in order |
| ends_with | verify that an iterator/collection contains the given values as the last elements in order |
| first_element | verfiy that an iterator/collection contains at least one element and return a `Spec` containing the first element |
| last_element | verfiy that an iterator/collection contains at least one element and return a `Spec` containing the last element |
| nth_element | verfiy that an iterator/collection contains at least one element and return a `Spec` containing the nth element |
| first_element | verify that an iterator/collection contains at least one element and return a `Spec` containing the first element |
| last_element | verify that an iterator/collection contains at least one element and return a `Spec` containing the last element |
| nth_element | verify that an iterator/collection contains at least one element and return a `Spec` containing the nth element |
| elements_at | pick the elements of an iterator/collection at the given positions and return a `Spec` containing the selected elements |

### Maps
Expand Down
Loading
Loading