Skip to content
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

In Memory Database for Unit Tests #107

Open
janniclas opened this issue Jan 30, 2019 · 2 comments
Open

In Memory Database for Unit Tests #107

janniclas opened this issue Jan 30, 2019 · 2 comments

Comments

@janniclas
Copy link
Contributor

It would be great to have an in memory database to mock the data retrieved by the backend to ease unit testing. There is a relatively new project from angular which allow us to create such in memory database meant for testing( https://github.com/angular/in-memory-web-api ).
In the newest version of the angular tutorials this in memory database is used to mock api calls and after a first look it looks really nice.
I created a first version of how this might look on this branch https://github.com/delphi-hub/delphi-management/tree/feature/inMemoryTest and successfully mocked the instances and the sysInfo tab, but the work has to be finished for the other endpoints.

@janniclas
Copy link
Contributor Author

@Naveenkumar27 if you are free, please have a look into this, else unassign yourself so I know I have to look for someone else for this task.

@Naveenkumar27
Copy link
Contributor

I am going through the links provided for this task. I will get back to you if anything is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants