-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mock API requires resource extension #8085
Comments
alansemenov
added
Improvement
To Be Discussed
Issues that require additional discussion
labels
May 14, 2020
anatol-sialitski
added a commit
that referenced
this issue
May 20, 2020
rymsha
added
Bug
and removed
Improvement
To Be Discussed
Issues that require additional discussion
labels
May 20, 2020
rebranded to a bug, because mock was supposed to work similarly to require |
rymsha
changed the title
Improve mock method for Test Framework
mock method does not handle resources without extension
May 20, 2020
anatol-sialitski
added a commit
that referenced
this issue
May 20, 2020
anatol-sialitski
added a commit
that referenced
this issue
May 20, 2020
anatol-sialitski
added a commit
that referenced
this issue
May 20, 2020
anatol-sialitski
added a commit
that referenced
this issue
May 20, 2020
rymsha
pushed a commit
that referenced
this issue
May 22, 2020
rymsha
pushed a commit
that referenced
this issue
May 22, 2020
alansemenov
changed the title
mock method does not handle resources without extension
Mock API requires resource extension
May 22, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CURRENT SITUATION
In order to mock parts of API we should register internal services in test. That is very difficult for end-user, because he has to know internal logic of services.
For example, we want to mock content lib.
In this case we have to add mock for services which are called in the
get
methodSHOULD BE
When some method is mocked, then a call of real method of service/lib should be avoided and replaced with a method decorator.
Details of implementation should be discussed.
The text was updated successfully, but these errors were encountered: