wiki:S2S_CORE_MOCK_SERVER_R0

Version 2 (modified by pav, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=S2S_CORE_MOCK_SERVER_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

The main idea of this task is to create mock server for testing usage. The basic facade for the server core methods have to be defined and implemented.

Task requirements

  • The server facade basic interfaces should be created. More information and visualization about Facade - S2S_DEPLOY_TECHNOLOGIES_R0
  • Testing server should be created. It is not a real jetty server just an instance which provide core functionality using the facade. It has to simulate starting and stopping a server.
  • Unit test using the mock server has to be present.

Task result

  • Mock server basic and server facade implementation.

Implementation idea

  • Implement the Facade so that it returns DummyUser instead of User object.
  • The server must run offline as long as it is not exactly real server.

S2S_DEPLOY_TECHNOLOGIES_R0
S2S_WEB_SERVICES_R0
S2S_CORE_DEPLOYMENT_R0

How to demo

  • Run the test and show the new classes.

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)