If you are using Spock, cleanupSpec runs after the last feature method:
http://spockframework.github.io/spock/docs/1.0/spock_primer.html#_fixture_methods
Also, if you are testing a Grails app in a separate JVM, you can use
remote-control:
https://grails.org/plugin/remote-control
Cheers,
11011011
On 2016-06-20 04:30 , Bocar Alpha Ba wrote:
Hii,
My goal is to delete the datas generated in the database during a
functionnal test after the completion of these tests.
Maybe use an annotation or use cleanSpec in a specific manner could
solve my problem
In my research i found that cleanSpec is used before execution of
tests but not after
Some ideas please
--
You received this message because you are subscribed to the Google
Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/geb-user/bba76aad-ea0d-4aa0-85e0-2b1879984ec2%40googlegroups.com
<https://groups.google.com/d/msgid/geb-user/bba76aad-ea0d-4aa0-85e0-2b1879984ec2%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Geb User
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/geb-user/594eec35-78f2-b6f3-4a40-3583c7fb3fc6%40getsu.com.
For more options, visit https://groups.google.com/d/optout.