We want to create Unit Tests to our library. In order to do so, we need to do an initial setup: - [x] Create a new .NET Core project for Unit Testing - [x] Setup xUnit and Moq We will test the following components: - [ ] `IWebApiClient` / `WebApiClient` - [ ] Test different fusillade priorities work as expected - [ ] Test configuring the values for `RequestOptions` work as expected (retry, timeout, ...) - [ ] Test default values are used when no `RequestOptions` is set - [ ] Test shouldRetry condition works as expected - [ ] `IRefitService<T>` / `RefitService<T>` - [ ] To be decided
We want to create Unit Tests to our library. In order to do so, we need to do an initial setup:
We will test the following components:
IWebApiClient/WebApiClientRequestOptionswork as expected (retry, timeout, ...)RequestOptionsis setIRefitService<T>/RefitService<T>