question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Organize test datasets or common functions to be fixtures, and to release as a package

See original GitHub issue

Is 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:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
achalscommented, Sep 15, 2021

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.

0reactions
adchiacommented, Sep 21, 2021

Noting the suggested solution here: https://github.com/feast-dev/feast/issues/1892

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found