Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tackle Test Rigging #262

Open
robcxyz opened this issue Jan 1, 2024 · 0 comments
Open

Tackle Test Rigging #262

robcxyz opened this issue Jan 1, 2024 · 0 comments
Labels
proposal Proposal for changes in syntax / behaviour wip A work in progress proposal

Comments

@robcxyz
Copy link
Collaborator

robcxyz commented Jan 1, 2024

Tackle Test Rigging

None

Overview

Design

  • A make file will exist at the root to

    • Create and activate a venv

    • Install tackle and testing requirements (ie pytest and tox)

  • Tackle will then wrap pytest and tox

  • Tackle will have two local versions installed

    • A stable version pinned to a working version - pip install tackle==...

    • A locally built version from setup.py which will change it's entrypoint to tkl based on an environment variable TACKLE_LOCAL_INSTALL

  • Env var

    • The TACKLE_LOCAL_INSTALL env var is set in the make file

    • Naively you can simply use tackle, the default entrypoint, but then if you break tackle you can't create the docs / do other stuff that requires tackle

    • This pattern will also be helpful when running tackle locally to maybe inform tackle to recompile the providers

Dual Installation

Providers

We will need to make a couple third party providers to

@robcxyz robcxyz changed the title tmp Tackle Test Rigging Jan 1, 2024
@robcxyz robcxyz added proposal Proposal for changes in syntax / behaviour wip A work in progress proposal labels Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal for changes in syntax / behaviour wip A work in progress proposal
Projects
None yet
Development

No branches or pull requests

1 participant