Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
dbt-allure: Elevate dbt testing with intuitive Allure reports, streamlining data validation and transformation projects.
Enhance your dbt testing with the dbt-allure plugin. It transforms dbt test results into detailed Allure reports, giving clear insights into your data transformations. Perfect for ensuring data integrity, this plugin makes test outcomes easy to understand and act upon. Dive deeper into testing with dbt by checking the dbt testing documentation.
For more information on Allure, visit Allure Framework. To learn more about dbt and how it works, visit the official dbt documentation.
Ensure you install the dbt-allure plugin with the same Python interpreter used by your dbt-core. The plugin can be installed via pip, poetry, or directly from a Git repository:
Using pip
pip install dbt-allure
Using Poetry
poetry add dbt-allure
The dbt-allure plugin can be utilized through programmatic invocations in Python or by using the provided dbt CLI wrapper.
Programmatic Invocation:
For more detailed information on programmatic invocation with dbt, refer to the dbt documentation on running dbt programmatically.
from dbt_allure import allure_callback
from dbt.cli.main import dbtRunner
dbt = dbtRunner(
callbacks=[
allure_callback,
]
)
dbt.invoke("test")
CLI Wrapper (Bash):
python -m dbt_allure test
To visualize your test results with Allure, generate and open the Allure report:
export TEST_RESULTS_DIR=target/allure-results
export TEST_REPORT_DIR=target/allure-report
allure generate $TEST_RESULTS_DIR -o $TEST_REPORT_DIR --clean
allure open $TEST_REPORT_DIR
The default configuration file for the plugin is .dbt_allure.yml, which can be overridden by the environment variable DBT_ALLURE_CONFIG_PATH.
Configuration options
results_dir_path
: The path where Allure results will be stored.clean_results
: A boolean flag to clean results_dir_path before a run. Note: When using programmatic invocation, cleanup occurs only upon importing the callback. It's recommended to set this to False and manage cleanup manually for programmatic usage.FAQs
dbt-allure: Elevate dbt testing with intuitive Allure reports, streamlining data validation and transformation projects.
We found that dbt-allure demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.