Organize test datasets or common functions to be fixtures, and to release as a package
See original GitHub issueIs your feature request related to a problem? Please describe.
I have developed a extra OfflineStore for Hive (feast-hive).
My experience for developing a extra Store
is that, not easy to share Feast tests (test datasets or common functions).
Describe the solution you’d like Would be nice to organize all test datasets and common functions, with clear doc and usages, and wrapped as Pytest fixtures, to release as a package (with main release or have it’s own release).
Describe alternatives you’ve considered
Additional context for example we can: modularize pytest fixtures
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
About fixtures — pytest documentation
Fixtures define the steps and data that constitute the arrange phase of a test (see Anatomy of a test). In pytest, they are...
Read more >Pytest best practices for libraries - Towards Data Science
Python library testing strategies with pytest, including parametrizing, mocking, passing arguments, temporary path, mocker.spy, and fixture ...
Read more >End-To-End Tutorial For Pytest Fixtures With Examples
pytest fixtures are functions attached to the tests which are used to instantiate a particular dataset . Here's all you need to know...
Read more >5. Testing - Python Packages
There are several kinds of tests commonly used to test Python packages: unit tests, integration tests, and regression tests. In this section, we'll...
Read more >Organize Tests | Basic Guides | Guides | Docs - TestCafe
This topic describes how to organize test code, declare fixtures, tests, and hooks. ... To declare a test fixture, use the fixture function....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @baineng , thanks for the issue. This is something that is very top of mind for us right now. we’re hoping to have a proposal or PR to address this soon.
Noting the suggested solution here: https://github.com/feast-dev/feast/issues/1892