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

Test Teardown broken in DataDriver latest versions #44

Closed
Veronit opened this issue May 7, 2021 · 2 comments
Closed

Test Teardown broken in DataDriver latest versions #44

Veronit opened this issue May 7, 2021 · 2 comments

Comments

@Veronit
Copy link

Veronit commented May 7, 2021

Stumbled on this problem. Task/Test Teardown works on DataDriver version 1.0.0 but on the newer ones. Using RF version 3.2.2.
Attached is a sample test and log.html's for executions.

Teardown works if you add it to the Task/Test Template keyword.
datadriver.zip

Same thing as in #41

@frankyqa
Copy link

Facing the same issue with this setup.

@Snooz82
Copy link
Owner

Snooz82 commented Jun 3, 2021

@Veronit @frankyqa

I got that bug now.
I could not reproduce it with the original issue, because i did not try it with RF 3.2.2

I would actually consider that more a bug in 3.2.2 than in DataDriver 😜 but i made changes with new RF 4.0 and then that happend, so it was my fault.

The "Issue" was that when DD is creating these test before i created Setup then Body then Teardown.
With 1.1.1 i changed that for better code structure to Setup & Teardown and then Body.
RF 3.2.2 for some reason then deletes the Teardown again, when you create a body... 🥴

Long talk short.
Fixed it.

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

No branches or pull requests

3 participants