Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Testserver and testsuite...

Hi,
The test server is now checked into p2 along with a testsuite that requires the test server to be started. This test suite is not linked in to AutomatedTests yet. (I don't know the best way to get the server started, and there may be issues with the port if also used for manual testing etc.). Appreciate if someone wants to help out here.

The testserver is found in org.eclipse.equinox.p2.testserver - there is a launch configuration for it in the project. After launching visit http:;//localhost:8080/public/index.html for an overview.

The testsuite - which contains one test so far is found in / org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/ repository/AllServerTests.java. Tests can run as part of the suite, or individually. (The idea is that the testsuite performs the start/stop of the testserver - now it only sets up some other stuff for reuse).

So, when working on transport or repository code, it is good to give the AllServerTests suite a manual run.

Regards
Henrik Lindberg
henrik.lindberg@xxxxxxxxxxxxxx



Back to the top