Tag Info

New answers tagged

0

From a pragmatic view I would recommend to use whatever works best, with the least maintenance effort. In this specific situation, I would probably go with "option 3": separate the part which reads the connection string from the part which creates the actual connection into two different methods. So the connection string becomes an input parameter of ...


0

If you do not own the REST API's, your responsibility ends with them You need tests that check if your application calls the API under your control correctly. Therefore, use the actual application with the actual service (the one you control) but calling mocked services (the ones you don't control). So... Use canned data for the services you don't ...



Top 50 recent answers are included