Open janniclas opened 5 years ago
@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.
I am going through the links provided for this task. I will get back to you if anything is required.
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.