Skip to content

Add custom cleanup step support via CleanupFcn parameter#12

Open
mukeshangrakh wants to merge 1 commit intomainfrom
feature/custom-cleanup-function
Open

Add custom cleanup step support via CleanupFcn parameter#12
mukeshangrakh wants to merge 1 commit intomainfrom
feature/custom-cleanup-function

Conversation

@mukeshangrakh
Copy link
Copy Markdown
Collaborator

Adds a CleanupFcn name-value pair to examplesTester and ExampleDrivenTesterTask that accepts a function handle. The function is executed after each test method in wrapperTest, giving end users control over custom teardown logic (e.g., closing Simulink models).

Closes #9

Adds a CleanupFcn name-value pair to examplesTester and
ExampleDrivenTesterTask that accepts a function handle. The function
is executed after each test method in wrapperTest, giving end users
control over custom teardown logic (e.g., closing Simulink models).

Closes #9

Amp-Thread-ID: https://ampcode.com/threads/T-019d430c-3162-70ce-bbf0-6143f9221e1f
Co-authored-by: Amp <amp@ampcode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add custom cleanup step to close Simulink models in ExampleDrivenTester

1 participant