Skip to content

Commit

Permalink
#205 Docs and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
la10736 committed Aug 12, 2023
1 parent bfd65cd commit 2862cfd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

### Changed

- Now `#[files]` accept also parent folders: see [#205](https://github.com/la10736/rstest/issues/205)
for more details.

### Fixed

## [0.18.1] 2023/7/5
Expand Down
7 changes: 7 additions & 0 deletions rstest_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,13 @@ pub fn fixture(
/// exclusion rules with the `#[exclude("regex")]` attributes that filter out all
/// paths that verify the regular expression.
///
/// Sometime is useful to have tests file in a workspace folder to share them between the
/// crates in your workspace. You can do that by use the usual parent folders `..` in
/// the glob path. In this case the test names will be the relative path from the crate root
/// where the parent folder are replaced by `_UP`: for instance if you have a `valid_call.yaml`
/// in the folder `../test_cases` (from your crate) a test name could be
/// `path_1__UP_test_cases_valid_call_yaml`.
///
/// ## Use Parametrize definition in more tests
///
/// If you need to use a test list for more than one test you can use
Expand Down

0 comments on commit 2862cfd

Please sign in to comment.