Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: frondeus/test-case Loading
base: v3.1.0
Choose a base ref
...
head repository: frondeus/test-case Loading
compare: v3.2.0
Choose a head ref
  • 7 commits
  • 73 files changed
  • 3 contributors

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    dfef0a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dee411a View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. feat: Add test_matrix macro (#128)

    * Add test_matrix macro
    
    Allows generating Cartesian product test matrices.
    Tests and docs forthcoming.
    
    * Add test_matrix macro acceptance tests
    
    Test basic features and for correct compilation error
    output
    
    * Add `=>` expression support to test_matrix macro
    
    Required that `TestCaseExpression` and all it's descendant structs be
    `Clone` so that TestMatrix can clone them for each TestCase it creates.
    Also made TestComment Clone for parity.
    
    Implemented quote::ToTokens for TestComment so that the "illegal
    comment" error generated by TestMatrix can point to the correct span of
    where the illegal comment begins. On stable Rust, this just highlights
    the first token, the semicolon, but on nightly Rust (which has
    `quote::Span::join`) it will highlight the entire illegal comment.
    
    * Use isize in test_matrix ranges
    
    `isize` will allow for negative numbers and be compatible
    with 32-bit and 64-bit platforms.
    
    Add some acceptance tests for the same.
    
    * Add basic documentation for test_matrix macro
    
    Add unreleased CHANGELOG fragment, README documentation,
    and doc comment to src/lib.rs and crate/test-case-macros/src/lib.rs.
    
    Detailed Wiki documentation forthcoming.
    
    * Replace itertools dependency with copied module
    
    Copied multi_product module from itertools 0.11.0
    under MIT license. Eliminates dependency on building
    all of itertools.
    overhacked committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    ada5d82 View commit details
    Browse the repository at this point in the history
  2. chore: fix clippy and tests

    luke-biel committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    f202f47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    410d2c6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    04935d4 View commit details
    Browse the repository at this point in the history
  5. Bump version to 3.2.0

    luke-biel committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    6f8ae5c View commit details
    Browse the repository at this point in the history
Loading