You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2010/12/10 16:55:00 UTC
[jira] Created: (STANBOL-19) Integration tests framework
Integration tests framework
---------------------------
Key: STANBOL-19
URL: https://issues.apache.org/jira/browse/STANBOL-19
Project: Stanbol
Issue Type: New Feature
Reporter: Bertrand Delacretaz
Create a framework for running tests at build time, by starting our runnable jars and testing them via http.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (STANBOL-19) Integration tests framework
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STANBOL-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz resolved STANBOL-19.
----------------------------------------
Resolution: Fixed
Assignee: Bertrand Delacretaz
Testing utilities moved under commons/testing in revision 1068401
With this, other modules can use a similar setup than enhancer/integration-tests to setup their integration tests.
> Integration tests framework
> ---------------------------
>
> Key: STANBOL-19
> URL: https://issues.apache.org/jira/browse/STANBOL-19
> Project: Stanbol
> Issue Type: New Feature
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
>
> Create a framework for running tests at build time, by starting our runnable jars and testing them via http.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (STANBOL-19) Integration tests framework
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STANBOL-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988118#action_12988118 ]
Bertrand Delacretaz commented on STANBOL-19:
--------------------------------------------
In revision 1064741, the framework is functional and activated for the enhancer.
For the next steps, I suggest waiting for feedback on the overall shape of this, and if we're happy we can move the reusable parts to a commons/testing module so that we can activate integration tests for other Stanbol modules.
I'll add a README in enhancer/integration-tests to explain how to run the tests and how to create new ones (that's very easy, see HomepageTest and StatelessEngineTest for examples).
> Integration tests framework
> ---------------------------
>
> Key: STANBOL-19
> URL: https://issues.apache.org/jira/browse/STANBOL-19
> Project: Stanbol
> Issue Type: New Feature
> Reporter: Bertrand Delacretaz
>
> Create a framework for running tests at build time, by starting our runnable jars and testing them via http.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STANBOL-19) Integration tests framework
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STANBOL-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970204#action_12970204 ]
Bertrand Delacretaz commented on STANBOL-19:
--------------------------------------------
Committed a first rough prototype in revision 1044410, demonstrates how to get, start and stop one of our runnable jars.
The idea is to add this to all tests that need to run against the server
@BeforeClass
public static void startRunnableJar() throws Exception {
JarExecutor.getInstance(System.getProperties()).start();
}
So that it is started if needed.
We'll need to add a utility method that waits for the server to be ready before running the first test, by running checks over http.
> Integration tests framework
> ---------------------------
>
> Key: STANBOL-19
> URL: https://issues.apache.org/jira/browse/STANBOL-19
> Project: Stanbol
> Issue Type: New Feature
> Reporter: Bertrand Delacretaz
>
> Create a framework for running tests at build time, by starting our runnable jars and testing them via http.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.