You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,12 @@ All notable changes to this project will be documented in this file.
3
3
4
4
*NOTE:* Version 0.X.X might have breaking changes in bumps of the minor version number. This is because the project is still in early development and the API is not yet stable. It will still be marked clearly in the release notes.
5
5
6
+
## [0.4.0]
7
+
- 🆕 Add support for pandas DataFrame assertions (pandas is an optional dependency, and snappylapy can be used without it)
8
+
- 🆕 Add new simpler and more intuitive Expect API. We can use expect() calls and an overload will select the appropriate Expect class based on the type of the input. This is in contrast with expect.dict(), expect.list(), etc. This is not a breaking change, since the old API is still supported.
9
+
6
10
## [0.3.2]
7
-
- Bug fix of test_directory fixture, not loading correctly depending fixture
11
+
-🐞 Bug fix of test_directory fixture, not loading correctly depending fixture
8
12
9
13
## [0.3.1]
10
14
- 🐞 Fix load_snapshot fixture not loading correctly
In this example, `snappylapy` captures the output of `my_function` and compares it against a stored snapshot. If the output changes unexpectedly, pytest will flag the test, allowing you to review the differences and ensure your code behaves as expected.
@@ -100,26 +101,26 @@ Supported data types
100
101
101
102
Planned data types:
102
103
103
-
| Python Type | Default Output file type | Implementation Status |
### Why not match automatically based on the type of the value?
7
-
**Why require the user to provide the type when using expect fixture (e.g. expect.string("Hello world")), instead of inferring it from the value type (e.g. expect('Hello world'))?**
8
-
9
-
This is done for better code editor code completions and better type checking. When using ctrl+space in the code editor, the user will see the available options and documentation for the type. Even though it is bit more verbose, it is more explicit and and allows for a better developer experience.
description = "A snapshot library for python optimized for easy of use, human readable snapshots and enabling decoupling of chained integration tests."
0 commit comments