Channels
dagster-de
topic-async-execution
dagster-jp
dagster-cube
gigs-freelance
dagster-wandb
dagster-feedback
dagster-machine-learning
dagster-bigquery
dagster-support
dagster-dask
dagster-snowflake
dagster-releases
dagster-dbt
faq-read-me-before-posting
tools
dagster-pipes
project-flexible-range-backfills
data-platform-design
events
dagster-serverless
dagster-noteable
introductions
dagster-airflow
dagster-cloud
random
dagster-airbyte
dagster-spatial
announcements
github-discussions
豆瓣酱帮
dagstereo
dagster-ecs
dagster-kubernetes
jobs
dagster-showcase
data-quality-asset-checks
Powered by
#announcements
Title
f
Farhan Husain
10/07/2019, 9:17 PM
does anyone have a simple working example of how to use pytest to test a solid?
s
schrockn
10/07/2019, 9:36 PM
Hey Farhan. The easiest way is to use our built in function,
execute_solid
, which can execute a solid in isolation.
f
Farhan Husain
10/07/2019, 9:44 PM
Thanks, I am trying to follow the docs + examples on github
I have it executing without errors, but now I am searching for how to actually get the return value for a solid
based on the docs it should be the .output_value() of the result from execute_solid
or at least that is how it seems
s
schrockn
10/07/2019, 9:48 PM
yup!
f
Farhan Husain
10/07/2019, 9:50 PM
perfect, thank you!
Post