assertj / assertj/assertj-swing
Provide a mechanism for FEST Swing to easily run multiple tests without cold starting the app every time
- Dominant language
- Java
- Stars
- 121
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
_Issue by **[L Orp](http://jira.codehaus.org/secure/ViewProfile.jspa?name=lorp22)** from Thu, 26 Aug 2010 10:38:13 -0500_
_Originally opened as http://jira.codehaus.org/browse/FEST-384_
---
This item is from an entry title "Having trouble running multiple tests together" in the Google group. I am attaching a file, sample.java, that illustrates the problem. This file runs fine with FEST, and everything works OK. But, if I create a second test file that uses a similar strategy, and try to execute both files in a single run of FEST, then only the first file runs successfully.
From the discussion group:
The problem is that FestSwingTestCaseTemplate cleans up resources, including
closing your app after each test method. In your case, if I understood
correctly, you'd like to open the app once, run tests and then close the
app. For this scenario, you'd have to duplicate
what FestSwingTestCaseTemplate is doing per test (@Before/@After methods)
and move it to @BeforeClass/@AfterClass methods.
I think it is valuable if FEST provides an implementation like this
out-of-the-box.
---
votes (original issue): 0
watches (original issue): 0
Contributor guide
Assessment
This issue has not been assessed yet.