# Send a yaml file as parameter on s.env.ExecuteWorkflow() for workflow test

**URL:** <https://community.temporal.io/t/send-a-yaml-file-as-parameter-on-s-env-executeworkflow-for-workflow-test/15506>\
**Category:** Community Support\
**Tags:** go-sdk, testing\
**Created:** [December 3, 2024, 8:32pm UTC](https://community.temporal.io/t/send-a-yaml-file-as-parameter-on-s-env-executeworkflow-for-workflow-test/15506 "2024-12-03T20:32:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecabrera](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/ecabrera/32/6466_2.png) [@ecabrera](https://community.temporal.io/u/ecabrera)\
**Post date:** [December 3, 2024, 8:32pm UTC](https://community.temporal.io/t/send-a-yaml-file-as-parameter-on-s-env-executeworkflow-for-workflow-test/15506/1 "2024-12-03T20:32:33Z")

</div>

Hi, I am trying to create a simple Workflow test, but, my workflow uses a yaml file as input to run sequential and parallel activities.

Is it possible to include a yaml file on a Workflow testing?

I am trying something like this:

```auto
func (s *UnitTestSuite) Test_DSLWorkflow_Success() {
    s.env.ExecuteWorkflow(DSLWorkflow, workflow1.yaml)

    s.True(s.env.IsWorkflowCompleted())
    s.NoError(s.env.GetWorkflowError())
}

```
