Skip to content

Commit

Permalink
Bump version to '0.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Polak committed Sep 27, 2019
1 parent 4155fbe commit bb498f7
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 5 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.3.1
### Minor improvements:
* Refreshed readme
* Added CI for stable version of Rust. - thanks to @macisamuele
* Limited crate to Rust 1.29+ - thanks to @macisamuele
### Upgraded dependencies:
* Upgraded syn, quote and proc-macro-2 to v1
* Upgraded lazy-static to 1.4.0
* Upgraded insta to 0.11.0

## 0.3.0
### Breaking changes
* Crate has new maintainer: Wojciech Polak :hand: :tada:
Expand All @@ -8,8 +18,8 @@

Reason: `::` is valid part of expression and rustc treats const variable as path
### New features
* Upgraded syn, quote and proc-macro-2 to v1
* Proper error propagation :tada:
When there is for example a typo in function body, rustc can now show location
of it instead of test_case location.
* Internally for tests crate uses `cargo insta` for snapshot testing
* Attribute is now compatible all other attributes like `#[should_panic]`
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[package]
name = "test-case"
version = "0.3.0"
version = "0.3.1"
edition = "2018"
authors = ["Marcin Sas-Szymanski <[email protected]>", "Wojciech Polak <[email protected]>"]
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"
keywords = ["test", "case", "tests", "unit", "testing"]
categories = ["development-tools", "development-tools::testing"]
readme = "README.md"
license = "MIT"
license-file = "LICENSE"
repository = "https://github.com/frondeus/test-case"
documentation = "https://docs.rs/test-case"
exclude = ["tests/snapshots/**/*"]
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ First of all you have to add this dependency to your `Cargo.toml`:

```toml
[dev-dependencies]
test-case = "0.3.0"
test-case = "0.3.1"
```

Additionally you have to import the procedural macro with `use` statement:
Expand Down Expand Up @@ -175,3 +175,11 @@ Licensed under of MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.
### Contribution

All contributions and comments are more than welcome! Don't be afraid to open an issue or PR whenever you find a bug or have an idea to improve this crate.

Recommended tools:
* `cargo readme` - to regenerate README.md based on template and lib.rs comments
* `cargo insta` - to review test snapshots
* `cargo edit` - to add/remove dependencies
* `cargo fmt` - to format code
* `cargo clippy` - for all insights and tips
* `cargo fix` - for fixing warnings
8 changes: 8 additions & 0 deletions README.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ Licensed under of MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.
### Contribution

All contributions and comments are more than welcome! Don't be afraid to open an issue or PR whenever you find a bug or have an idea to improve this crate.

Recommended tools:
* `cargo readme` - to regenerate README.md based on template and lib.rs comments
* `cargo insta` - to review test snapshots
* `cargo edit` - to add/remove dependencies
* `cargo fmt` - to format code
* `cargo clippy` - for all insights and tips
* `cargo fix` - for fixing warnings
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//!
//! ```toml
//! [dev-dependencies]
//! test-case = "0.3.0"
//! test-case = "0.3.1"
//! ```
//!
//! Additionally you have to import the procedural macro with `use` statement:
Expand Down

0 comments on commit bb498f7

Please sign in to comment.