Project

General

Profile

feature request #6243

Use a mock service for testing the loading of associated units in ABCD import test

Added by Katja Luther over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Priority14
Assignee:
Category:
cdmlib
Target version:
Start date:
12/06/2016
Due date:
% Done:

0%

Severity:
normal

Description

In IO we do not want to have dependencies to external services, but for testing the ABCD import we also need to test the functionality of loading associated units. Therefore we need a mock service to avoid failing tests caused by the biocase webservice.

History

#1 Updated by Andreas Kohlbecker over 2 years ago

Mockservicees, guter Punkt!

Der einfachste mockservice überhaupt ist eine URI einer Test-Resource die der Classloader finden kann. Bei URL die in einer Resource drin stehen wird es komplizierter. Da wäre es schön wenn man einen echten mock-service hätte der anstelle des originalen verwendet wird. Hab wir dafür schon ein Framework - easymock?

Andreas

#2 Updated by Andreas Müller over 2 years ago

  • Subject changed from use a mock service for testing the loading of associated units in ABCD import test to Use a mock service for testing the loading of associated units in ABCD import test
  • Description updated (diff)

#3 Updated by Andreas Müller over 2 years ago

  • Assignee changed from Andreas Müller to Katja Luther

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)