From 6ce7340f2087f079ae2892069a68676d1072bb5e Mon Sep 17 00:00:00 2001
From: Jessica Ho <45194378+jho44@users.noreply.github.com>
Date: Tue, 13 Sep 2022 09:46:55 -0700
Subject: [PATCH] update readme (#26)
---
README.md | 269 ++++--------------
__tests__/Api/AddressesApiTests.cs | 1 +
__tests__/Api/BankAccountsApiTests.cs | 1 +
__tests__/Api/BillingGroupsApiTests.cs | 1 +
__tests__/Api/CardOrdersApiTests.cs | 1 +
__tests__/Api/CardsApiTests.cs | 1 +
__tests__/Api/ChecksApiTests.cs | 2 +
__tests__/Api/IntlAutocompletionsApiTests.cs | 1 +
__tests__/Api/IntlVerificationsApiTests.cs | 1 +
__tests__/Api/LettersApiTests.cs | 1 +
__tests__/Api/PostcardsApiTests.cs | 1 +
.../Api/ReverseGeocodeLookupsApiTests.cs | 1 +
__tests__/Api/SelfMailersApiTests.cs | 1 +
__tests__/Api/TemplateVersionsApiTests.cs | 1 +
__tests__/Api/TemplatesApiTests.cs | 1 +
__tests__/Api/UsAutocompletionsApiTests.cs | 1 +
__tests__/Api/UsVerificationsApiTests.cs | 1 +
__tests__/Api/ZipLookupsApiTests.cs | 1 +
.../Integration/AddressesApi.Spec.Test.cs | 1 +
.../Integration/BankAccountsApi.Spec.Test.cs | 1 +
.../Integration/BillingGroupsApi.Spec.Test.cs | 1 +
.../Integration/CardOrdersApi.Spec.Test.cs | 1 +
__tests__/Integration/CardsApi.Spec.Test.cs | 1 +
__tests__/Integration/ChecksApi.Spec.Test.cs | 1 +
.../IntlAutocompletionsApi.Spec.Test.cs | 1 +
.../IntlVerificationsApi.Spec.Test.cs | 1 +
__tests__/Integration/LettersApi.Spec.Test.cs | 1 +
.../Integration/PostcardsApi.Spec.Test.cs | 1 +
.../ReverseGeocodeLookupsApi.Spec.Test.cs | 1 +
.../Integration/SelfMailersApi.Spec.Test.cs | 1 +
.../TemplateVersionsApi.Spec.Test.cs | 1 +
.../Integration/TemplatesApi.Spec.Test.cs | 1 +
.../UsAutocompletionsApi.Spec.Test.cs | 1 +
.../UsVerificationsApi.Spec.Test.cs | 1 +
.../Integration/ZipLookupsApi.Spec.Test.cs | 1 +
35 files changed, 85 insertions(+), 219 deletions(-)
diff --git a/README.md b/README.md
index 0b09ec5..1670f92 100644
--- a/README.md
+++ b/README.md
@@ -1,64 +1,34 @@
-# lob.dotnet - the C# library for the Lob
-
-The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors.
Looking for our [previous documentation](https://lob.github.io/legacy-docs/)?
+# lob-dotnet
+The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors.
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 1.3.0
- SDK version: 1.0.0
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
- For more information, please visit [https://support.lob.com/](https://support.lob.com/)
-
-
-## Frameworks supported
-
-## Dependencies
+For more information, please visit [https://support.lob.com/](https://support.lob.com/)
-- [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later
-- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 12.0.3 or later
-- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.8.0 or later
-- [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 5.0.0 or later
+## Requirements
-The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
-```
-Install-Package RestSharp
-Install-Package Newtonsoft.Json
-Install-Package JsonSubTypes
-Install-Package System.ComponentModel.Annotations
-```
+[.NET](https://dotnet.microsoft.com/en-us/download)
-NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742).
-NOTE: RestSharp for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406).
+## Getting Started
-
-## Installation
-Run the following command to generate the DLL
-- [Mac/Linux] `/bin/sh build.sh`
-- [Windows] `build.bat`
+### Registration
-Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
-```csharp
-using lob.dotnet.Api;
-using lob.dotnet.Client;
-using lob.dotnet.Model;
-```
-
-## Packaging
+First, you will need to first create an account at [Lob.com](https://dashboard.lob.com/#/register) and obtain your Test and Live API Keys.
-A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.
+Once you have created an account, you can access your API Keys from the [Settings Panel](https://dashboard.lob.com/#/settings).
-This `.nuspec` uses placeholders from the `.csproj`, so build the `.csproj` directly:
+### Installation
+```bash
+$ dotnet add package lob.dotnet
```
-nuget pack -Build -OutputDirectory out lob.dotnet.csproj
-```
-
-Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.
-
-## Usage
+## First API Call
To use the API client with a HTTP proxy, setup a `System.Net.WebProxy`
```csharp
@@ -68,9 +38,6 @@ webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
c.Proxy = webProxy;
```
-
-## Getting Started
-
```csharp
using System.Collections.Generic;
using System.Diagnostics;
@@ -91,7 +58,7 @@ namespace Example
config.Username = "<>";
var apiInstance = new AddressesApi(config);
- var addressEditable = new AddressEditable(); // AddressEditable |
+ var addressEditable = new AddressEditable();
try
{
@@ -111,180 +78,44 @@ namespace Example
}
```
-
-## Documentation for API Endpoints
-
-All URIs are relative to *https://api.lob.com/v1*
-
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*AddressesApi* | [**create**](docs/AddressesApi.md#create) | **POST** /addresses | create
-*AddressesApi* | [**delete**](docs/AddressesApi.md#delete) | **DELETE** /addresses/{adr_id} | delete
-*AddressesApi* | [**get**](docs/AddressesApi.md#get) | **GET** /addresses/{adr_id} | get
-*AddressesApi* | [**list**](docs/AddressesApi.md#list) | **GET** /addresses | list
-*BankAccountsApi* | [**create**](docs/BankAccountsApi.md#create) | **POST** /bank_accounts | create
-*BankAccountsApi* | [**delete**](docs/BankAccountsApi.md#delete) | **DELETE** /bank_accounts/{bank_id} | delete
-*BankAccountsApi* | [**get**](docs/BankAccountsApi.md#get) | **GET** /bank_accounts/{bank_id} | get
-*BankAccountsApi* | [**verify**](docs/BankAccountsApi.md#verify) | **POST** /bank_accounts/{bank_id}/verify | verify
-*BankAccountsApi* | [**list**](docs/BankAccountsApi.md#list) | **GET** /bank_accounts | list
-*BillingGroupsApi* | [**create**](docs/BillingGroupsApi.md#create) | **POST** /billing_groups | create
-*BillingGroupsApi* | [**get**](docs/BillingGroupsApi.md#get) | **GET** /billing_groups/{bg_id} | get
-*BillingGroupsApi* | [**update**](docs/BillingGroupsApi.md#update) | **POST** /billing_groups/{bg_id} | update
-*BillingGroupsApi* | [**list**](docs/BillingGroupsApi.md#list) | **GET** /billing_groups | list
-*CardOrdersApi* | [**create**](docs/CardOrdersApi.md#create) | **POST** /cards/{card_id}/orders | create
-*CardOrdersApi* | [**get**](docs/CardOrdersApi.md#get) | **GET** /cards/{card_id}/orders | get
-*CardsApi* | [**create**](docs/CardsApi.md#create) | **POST** /cards | create
-*CardsApi* | [**delete**](docs/CardsApi.md#delete) | **DELETE** /cards/{card_id} | delete
-*CardsApi* | [**get**](docs/CardsApi.md#get) | **GET** /cards/{card_id} | get
-*CardsApi* | [**update**](docs/CardsApi.md#update) | **POST** /cards/{card_id} | update
-*CardsApi* | [**list**](docs/CardsApi.md#list) | **GET** /cards | list
-*ChecksApi* | [**cancel**](docs/ChecksApi.md#cancel) | **DELETE** /checks/{chk_id} | cancel
-*ChecksApi* | [**create**](docs/ChecksApi.md#create) | **POST** /checks | create
-*ChecksApi* | [**get**](docs/ChecksApi.md#get) | **GET** /checks/{chk_id} | get
-*ChecksApi* | [**list**](docs/ChecksApi.md#list) | **GET** /checks | list
-*IntlAutocompletionsApi* | [**IntlAutocompletion**](docs/IntlAutocompletionsApi.md#intlautocompletion) | **POST** /intl_autocompletions | autocomplete
-*IntlVerificationsApi* | [**BulkIntlVerifications**](docs/IntlVerificationsApi.md#bulkintlverifications) | **POST** /bulk/intl_verifications | verifyBulk
-*IntlVerificationsApi* | [**IntlVerification**](docs/IntlVerificationsApi.md#intlverification) | **POST** /intl_verifications | verifySingle
-*LettersApi* | [**cancel**](docs/LettersApi.md#cancel) | **DELETE** /letters/{ltr_id} | cancel
-*LettersApi* | [**create**](docs/LettersApi.md#create) | **POST** /letters | create
-*LettersApi* | [**get**](docs/LettersApi.md#get) | **GET** /letters/{ltr_id} | get
-*LettersApi* | [**list**](docs/LettersApi.md#list) | **GET** /letters | list
-*PostcardsApi* | [**create**](docs/PostcardsApi.md#create) | **POST** /postcards | create
-*PostcardsApi* | [**delete**](docs/PostcardsApi.md#delete) | **DELETE** /postcards/{psc_id} | cancel
-*PostcardsApi* | [**get**](docs/PostcardsApi.md#get) | **GET** /postcards/{psc_id} | get
-*PostcardsApi* | [**list**](docs/PostcardsApi.md#list) | **GET** /postcards | list
-*ReverseGeocodeLookupsApi* | [**ReverseGeocodeLookup**](docs/ReverseGeocodeLookupsApi.md#reversegeocodelookup) | **POST** /us_reverse_geocode_lookups | lookup
-*SelfMailersApi* | [**create**](docs/SelfMailersApi.md#create) | **POST** /self_mailers | create
-*SelfMailersApi* | [**delete**](docs/SelfMailersApi.md#delete) | **DELETE** /self_mailers/{sfm_id} | delete
-*SelfMailersApi* | [**get**](docs/SelfMailersApi.md#get) | **GET** /self_mailers/{sfm_id} | get
-*SelfMailersApi* | [**list**](docs/SelfMailersApi.md#list) | **GET** /self_mailers | list
-*TemplateVersionsApi* | [**create**](docs/TemplateVersionsApi.md#create) | **POST** /templates/{tmpl_id}/versions | create
-*TemplateVersionsApi* | [**delete**](docs/TemplateVersionsApi.md#delete) | **DELETE** /templates/{tmpl_id}/versions/{vrsn_id} | delete
-*TemplateVersionsApi* | [**get**](docs/TemplateVersionsApi.md#get) | **GET** /templates/{tmpl_id}/versions/{vrsn_id} | get
-*TemplateVersionsApi* | [**update**](docs/TemplateVersionsApi.md#update) | **POST** /templates/{tmpl_id}/versions/{vrsn_id} | update
-*TemplateVersionsApi* | [**list**](docs/TemplateVersionsApi.md#list) | **GET** /templates/{tmpl_id}/versions | list
-*TemplatesApi* | [**create**](docs/TemplatesApi.md#create) | **POST** /templates | create
-*TemplatesApi* | [**delete**](docs/TemplatesApi.md#delete) | **DELETE** /templates/{tmpl_id} | delete
-*TemplatesApi* | [**get**](docs/TemplatesApi.md#get) | **GET** /templates/{tmpl_id} | get
-*TemplatesApi* | [**update**](docs/TemplatesApi.md#update) | **POST** /templates/{tmpl_id} | update
-*TemplatesApi* | [**list**](docs/TemplatesApi.md#list) | **GET** /templates | list
-*UsAutocompletionsApi* | [**UsAutocompletion**](docs/UsAutocompletionsApi.md#usautocompletion) | **POST** /us_autocompletions | autocomplete
-*UsVerificationsApi* | [**BulkUsVerifications**](docs/UsVerificationsApi.md#bulkusverifications) | **POST** /bulk/us_verifications | verifyBulk
-*UsVerificationsApi* | [**UsVerification**](docs/UsVerificationsApi.md#usverification) | **POST** /us_verifications | verifySingle
-*ZipLookupsApi* | [**ZipLookup**](docs/ZipLookupsApi.md#ziplookup) | **POST** /us_zip_lookups | lookup
-
-
-
-## Documentation for Models
-
- - [Model.Address](docs/Address.md)
- - [Model.AddressDeletion](docs/AddressDeletion.md)
- - [Model.AddressDomesticExpanded](docs/AddressDomesticExpanded.md)
- - [Model.AddressEditable](docs/AddressEditable.md)
- - [Model.AddressList](docs/AddressList.md)
- - [Model.BankAccount](docs/BankAccount.md)
- - [Model.BankAccountDeletion](docs/BankAccountDeletion.md)
- - [Model.BankAccountList](docs/BankAccountList.md)
- - [Model.verify](docs/verify.md)
- - [Model.BankAccountWritable](docs/BankAccountWritable.md)
- - [Model.BankTypeEnum](docs/BankTypeEnum.md)
- - [Model.BillingGroup](docs/BillingGroup.md)
- - [Model.BillingGroupEditable](docs/BillingGroupEditable.md)
- - [Model.BillingGroupList](docs/BillingGroupList.md)
- - [Model.BulkError](docs/BulkError.md)
- - [Model.BulkErrorProperties](docs/BulkErrorProperties.md)
- - [Model.Card](docs/Card.md)
- - [Model.CardDeletion](docs/CardDeletion.md)
- - [Model.CardEditable](docs/CardEditable.md)
- - [Model.CardList](docs/CardList.md)
- - [Model.CardOrder](docs/CardOrder.md)
- - [Model.CardOrderEditable](docs/CardOrderEditable.md)
- - [Model.CardOrderList](docs/CardOrderList.md)
- - [Model.CardUpdatable](docs/CardUpdatable.md)
- - [Model.Check](docs/Check.md)
- - [Model.CheckDeletion](docs/CheckDeletion.md)
- - [Model.CheckEditable](docs/CheckEditable.md)
- - [Model.CheckList](docs/CheckList.md)
- - [Model.CountryExtended](docs/CountryExtended.md)
- - [Model.CountryExtendedExpanded](docs/CountryExtendedExpanded.md)
- - [Model.DeliverabilityAnalysis](docs/DeliverabilityAnalysis.md)
- - [Model.DpvFootnote](docs/DpvFootnote.md)
- - [Model.EngineHtml](docs/EngineHtml.md)
- - [Model.EventType](docs/EventType.md)
- - [Model.Events](docs/Events.md)
- - [Model.GeocodeAddresses](docs/GeocodeAddresses.md)
- - [Model.GeocodeComponents](docs/GeocodeComponents.md)
- - [Model.IntlAutocompletions](docs/IntlAutocompletions.md)
- - [Model.IntlAutocompletionsWritable](docs/IntlAutocompletionsWritable.md)
- - [Model.IntlComponents](docs/IntlComponents.md)
- - [Model.IntlSuggestions](docs/IntlSuggestions.md)
- - [Model.IntlVerification](docs/IntlVerification.md)
- - [Model.IntlVerificationOrError](docs/IntlVerificationOrError.md)
- - [Model.IntlVerificationWritable](docs/IntlVerificationWritable.md)
- - [Model.IntlVerifications](docs/IntlVerifications.md)
- - [Model.IntlVerificationsPayload](docs/IntlVerificationsPayload.md)
- - [Model.Letter](docs/Letter.md)
- - [Model.LetterCustomEnvelope](docs/LetterCustomEnvelope.md)
- - [Model.LetterDeletion](docs/LetterDeletion.md)
- - [Model.LetterEditable](docs/LetterEditable.md)
- - [Model.LetterList](docs/LetterList.md)
- - [Model.LobConfidenceScore](docs/LobConfidenceScore.md)
- - [Model.LobError](docs/LobError.md)
- - [Model.Location](docs/Location.md)
- - [Model.LocationAnalysis](docs/LocationAnalysis.md)
- - [Model.MailType](docs/MailType.md)
- - [Model.MultipleComponents](docs/MultipleComponents.md)
- - [Model.MultipleComponentsIntl](docs/MultipleComponentsIntl.md)
- - [Model.MultipleComponentsList](docs/MultipleComponentsList.md)
- - [Model.Postcard](docs/Postcard.md)
- - [Model.PostcardDeletion](docs/PostcardDeletion.md)
- - [Model.PostcardEditable](docs/PostcardEditable.md)
- - [Model.PostcardList](docs/PostcardList.md)
- - [Model.PostcardSize](docs/PostcardSize.md)
- - [Model.ReverseGeocode](docs/ReverseGeocode.md)
- - [Model.SelfMailer](docs/SelfMailer.md)
- - [Model.SelfMailerDeletion](docs/SelfMailerDeletion.md)
- - [Model.SelfMailerEditable](docs/SelfMailerEditable.md)
- - [Model.SelfMailerList](docs/SelfMailerList.md)
- - [Model.SelfMailerSize](docs/SelfMailerSize.md)
- - [Model.SortBy](docs/SortBy.md)
- - [Model.SortBy1](docs/SortBy1.md)
- - [Model.SortBy2](docs/SortBy2.md)
- - [Model.SortBy3](docs/SortBy3.md)
- - [Model.SortBy4](docs/SortBy4.md)
- - [Model.SortBy5](docs/SortBy5.md)
- - [Model.Suggestions](docs/Suggestions.md)
- - [Model.Template](docs/Template.md)
- - [Model.TemplateDeletion](docs/TemplateDeletion.md)
- - [Model.TemplateList](docs/TemplateList.md)
- - [Model.update](docs/update.md)
- - [Model.TemplateVersion](docs/TemplateVersion.md)
- - [Model.TemplateVersionDeletion](docs/TemplateVersionDeletion.md)
- - [Model.TemplateVersionList](docs/TemplateVersionList.md)
- - [Model.TemplateVersionUpdatable](docs/TemplateVersionUpdatable.md)
- - [Model.TemplateVersionWritable](docs/TemplateVersionWritable.md)
- - [Model.TemplateWritable](docs/TemplateWritable.md)
- - [Model.Thumbnail](docs/Thumbnail.md)
- - [Model.TrackingEventCertified](docs/TrackingEventCertified.md)
- - [Model.TrackingEventDetails](docs/TrackingEventDetails.md)
- - [Model.TrackingEventNormal](docs/TrackingEventNormal.md)
- - [Model.UsAutocompletions](docs/UsAutocompletions.md)
- - [Model.UsAutocompletionsWritable](docs/UsAutocompletionsWritable.md)
- - [Model.UsComponents](docs/UsComponents.md)
- - [Model.UsVerification](docs/UsVerification.md)
- - [Model.UsVerificationOrError](docs/UsVerificationOrError.md)
- - [Model.UsVerifications](docs/UsVerifications.md)
- - [Model.UsVerificationsWritable](docs/UsVerificationsWritable.md)
- - [Model.Zip](docs/Zip.md)
- - [Model.ZipCodeType](docs/ZipCodeType.md)
- - [Model.ZipEditable](docs/ZipEditable.md)
- - [Model.ZipLookupCity](docs/ZipLookupCity.md)
-
-
-
+## API Documentation
+
+The full and comprehensive documentation of Lob's APIs is available [here](https://docs.lob.com/).
+
+## Testing
+
+### Unit Testing
+
+```bash
+$ dotnet test --filter Category=Unit
+```
+
+### Integration Testing
+
+Integration tests run against a live deployment of the Lob API and require multiple valid API keys with access to specific features. As such, it is not expected that these tests will pass for every user in every environment.
+
+To run integration tests:
+
+```bash
+$ LOB_API_TEST_KEY=<> LOB_API_LIVE_KEY=<> dotnet test --filter Category=Integration
+```
+
+#### A cleaner alternative if you are going to run integration tests frequently
+
+Run this the first time:
+
+```bash
+$ echo "LOB_API_TEST_KEY=<> LOB_API_LIVE_KEY=<>" > LOCAL.env
+```
+
+Then, to run the integration tests:
+
+```bash
+$ env $(cat LOCAL.env) dotnet test --filter Category=Integration
+```
+
## Documentation for Authorization
-
### basicAuth
- **Type**: HTTP basic authentication
diff --git a/__tests__/Api/AddressesApiTests.cs b/__tests__/Api/AddressesApiTests.cs
index 11a775b..63f8f0a 100644
--- a/__tests__/Api/AddressesApiTests.cs
+++ b/__tests__/Api/AddressesApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing AddressesApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.All)]
public class AddressesApiTests : IDisposable
{
diff --git a/__tests__/Api/BankAccountsApiTests.cs b/__tests__/Api/BankAccountsApiTests.cs
index 3fa2f16..e6b8008 100644
--- a/__tests__/Api/BankAccountsApiTests.cs
+++ b/__tests__/Api/BankAccountsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing BankAccountsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class BankAccountsApiTests : IDisposable
{
diff --git a/__tests__/Api/BillingGroupsApiTests.cs b/__tests__/Api/BillingGroupsApiTests.cs
index 3de690a..f39b76e 100644
--- a/__tests__/Api/BillingGroupsApiTests.cs
+++ b/__tests__/Api/BillingGroupsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing BillingGroupsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class BillingGroupsApiTests : IDisposable
{
diff --git a/__tests__/Api/CardOrdersApiTests.cs b/__tests__/Api/CardOrdersApiTests.cs
index 59c7213..0270009 100644
--- a/__tests__/Api/CardOrdersApiTests.cs
+++ b/__tests__/Api/CardOrdersApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing CardOrdersApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class CardOrdersApiTests : IDisposable
{
diff --git a/__tests__/Api/CardsApiTests.cs b/__tests__/Api/CardsApiTests.cs
index 99f077d..1482a57 100644
--- a/__tests__/Api/CardsApiTests.cs
+++ b/__tests__/Api/CardsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing CardsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class CardsApiTests : IDisposable
{
diff --git a/__tests__/Api/ChecksApiTests.cs b/__tests__/Api/ChecksApiTests.cs
index 449087b..7f38d89 100644
--- a/__tests__/Api/ChecksApiTests.cs
+++ b/__tests__/Api/ChecksApiTests.cs
@@ -24,6 +24,8 @@ namespace __tests__.Api
/// Class for testing ChecksApi
///
[TestFixture]
+ [Category("Unit")]
+ [Parallelizable(scope: ParallelScope.Self)]
public class ChecksApiTests : IDisposable
{
private Mock ChecksApiMock;
diff --git a/__tests__/Api/IntlAutocompletionsApiTests.cs b/__tests__/Api/IntlAutocompletionsApiTests.cs
index 8a04a95..e981192 100644
--- a/__tests__/Api/IntlAutocompletionsApiTests.cs
+++ b/__tests__/Api/IntlAutocompletionsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing IntlAutocompletionsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class IntlAutocompletionsApiTests : IDisposable
{
diff --git a/__tests__/Api/IntlVerificationsApiTests.cs b/__tests__/Api/IntlVerificationsApiTests.cs
index e326f05..4300019 100644
--- a/__tests__/Api/IntlVerificationsApiTests.cs
+++ b/__tests__/Api/IntlVerificationsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing IntlVerificationsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class IntlVerificationsApiTests : IDisposable
{
diff --git a/__tests__/Api/LettersApiTests.cs b/__tests__/Api/LettersApiTests.cs
index 96f8416..137c65a 100644
--- a/__tests__/Api/LettersApiTests.cs
+++ b/__tests__/Api/LettersApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing LettersApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class LettersApiTests : IDisposable
{
diff --git a/__tests__/Api/PostcardsApiTests.cs b/__tests__/Api/PostcardsApiTests.cs
index a492b86..eac74a6 100644
--- a/__tests__/Api/PostcardsApiTests.cs
+++ b/__tests__/Api/PostcardsApiTests.cs
@@ -25,6 +25,7 @@ namespace __tests__.Api
/// Class for testing PostcardsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class PostcardsApiTests : IDisposable
{
diff --git a/__tests__/Api/ReverseGeocodeLookupsApiTests.cs b/__tests__/Api/ReverseGeocodeLookupsApiTests.cs
index 9e2c770..a46ab0e 100644
--- a/__tests__/Api/ReverseGeocodeLookupsApiTests.cs
+++ b/__tests__/Api/ReverseGeocodeLookupsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing ReverseGeocodeLookupsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.All)]
public class ReverseGeocodeLookupsApiTests : IDisposable
{
diff --git a/__tests__/Api/SelfMailersApiTests.cs b/__tests__/Api/SelfMailersApiTests.cs
index bc0cc63..3142e2f 100644
--- a/__tests__/Api/SelfMailersApiTests.cs
+++ b/__tests__/Api/SelfMailersApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing SelfMailersApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class SelfMailersApiTests : IDisposable
{
diff --git a/__tests__/Api/TemplateVersionsApiTests.cs b/__tests__/Api/TemplateVersionsApiTests.cs
index d187929..d049265 100644
--- a/__tests__/Api/TemplateVersionsApiTests.cs
+++ b/__tests__/Api/TemplateVersionsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing TemplateVersionsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class TemplateVersionsApiTests : IDisposable
{
diff --git a/__tests__/Api/TemplatesApiTests.cs b/__tests__/Api/TemplatesApiTests.cs
index 6973070..ffe9901 100644
--- a/__tests__/Api/TemplatesApiTests.cs
+++ b/__tests__/Api/TemplatesApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing TemplatesApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class TemplatesApiTests : IDisposable
{
diff --git a/__tests__/Api/UsAutocompletionsApiTests.cs b/__tests__/Api/UsAutocompletionsApiTests.cs
index 53b35b1..1eaff51 100644
--- a/__tests__/Api/UsAutocompletionsApiTests.cs
+++ b/__tests__/Api/UsAutocompletionsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing UsAutocompletionsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class UsAutocompletionsApiTests : IDisposable
{
diff --git a/__tests__/Api/UsVerificationsApiTests.cs b/__tests__/Api/UsVerificationsApiTests.cs
index 50802d3..cd59143 100644
--- a/__tests__/Api/UsVerificationsApiTests.cs
+++ b/__tests__/Api/UsVerificationsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing UsVerificationsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.Self)]
public class UsVerificationsApiTests : IDisposable
{
diff --git a/__tests__/Api/ZipLookupsApiTests.cs b/__tests__/Api/ZipLookupsApiTests.cs
index fb78295..2992bbc 100644
--- a/__tests__/Api/ZipLookupsApiTests.cs
+++ b/__tests__/Api/ZipLookupsApiTests.cs
@@ -24,6 +24,7 @@ namespace __tests__.Api
/// Class for testing ZipLookupsApi
///
[TestFixture]
+ [Category("Unit")]
[Parallelizable(scope: ParallelScope.All)]
public class ZipLookupsApiTests : IDisposable
{
diff --git a/__tests__/Integration/AddressesApi.Spec.Test.cs b/__tests__/Integration/AddressesApi.Spec.Test.cs
index dddcf5c..195b7b3 100644
--- a/__tests__/Integration/AddressesApi.Spec.Test.cs
+++ b/__tests__/Integration/AddressesApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class AddressesApiTests : IDisposable
{
diff --git a/__tests__/Integration/BankAccountsApi.Spec.Test.cs b/__tests__/Integration/BankAccountsApi.Spec.Test.cs
index 563a42a..6a81037 100644
--- a/__tests__/Integration/BankAccountsApi.Spec.Test.cs
+++ b/__tests__/Integration/BankAccountsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class BankAccountsApiTests : IDisposable
{
diff --git a/__tests__/Integration/BillingGroupsApi.Spec.Test.cs b/__tests__/Integration/BillingGroupsApi.Spec.Test.cs
index a110981..42f8a2f 100644
--- a/__tests__/Integration/BillingGroupsApi.Spec.Test.cs
+++ b/__tests__/Integration/BillingGroupsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class BillingGroupsApiTests : IDisposable
{
diff --git a/__tests__/Integration/CardOrdersApi.Spec.Test.cs b/__tests__/Integration/CardOrdersApi.Spec.Test.cs
index 45c0a89..0b2a74f 100644
--- a/__tests__/Integration/CardOrdersApi.Spec.Test.cs
+++ b/__tests__/Integration/CardOrdersApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class CardOrdersApiTests : IDisposable
{
diff --git a/__tests__/Integration/CardsApi.Spec.Test.cs b/__tests__/Integration/CardsApi.Spec.Test.cs
index b4b62fc..7ef9708 100644
--- a/__tests__/Integration/CardsApi.Spec.Test.cs
+++ b/__tests__/Integration/CardsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class CardsApiTests : IDisposable
{
diff --git a/__tests__/Integration/ChecksApi.Spec.Test.cs b/__tests__/Integration/ChecksApi.Spec.Test.cs
index a313f21..6dea79d 100644
--- a/__tests__/Integration/ChecksApi.Spec.Test.cs
+++ b/__tests__/Integration/ChecksApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class ChecksApiTests : IDisposable
{
diff --git a/__tests__/Integration/IntlAutocompletionsApi.Spec.Test.cs b/__tests__/Integration/IntlAutocompletionsApi.Spec.Test.cs
index 7b57867..263ddba 100644
--- a/__tests__/Integration/IntlAutocompletionsApi.Spec.Test.cs
+++ b/__tests__/Integration/IntlAutocompletionsApi.Spec.Test.cs
@@ -19,6 +19,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class IntlAutocompletionsApiTests : IDisposable
{
diff --git a/__tests__/Integration/IntlVerificationsApi.Spec.Test.cs b/__tests__/Integration/IntlVerificationsApi.Spec.Test.cs
index 3497c95..2af1332 100644
--- a/__tests__/Integration/IntlVerificationsApi.Spec.Test.cs
+++ b/__tests__/Integration/IntlVerificationsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class IntlVerificationsApiTests : IDisposable
{
diff --git a/__tests__/Integration/LettersApi.Spec.Test.cs b/__tests__/Integration/LettersApi.Spec.Test.cs
index 6db8147..66c56c0 100644
--- a/__tests__/Integration/LettersApi.Spec.Test.cs
+++ b/__tests__/Integration/LettersApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class LettersApiTests : IDisposable
{
diff --git a/__tests__/Integration/PostcardsApi.Spec.Test.cs b/__tests__/Integration/PostcardsApi.Spec.Test.cs
index 850c03a..2377964 100644
--- a/__tests__/Integration/PostcardsApi.Spec.Test.cs
+++ b/__tests__/Integration/PostcardsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Children)]
public class PostcardsApiTests : IDisposable
{
diff --git a/__tests__/Integration/ReverseGeocodeLookupsApi.Spec.Test.cs b/__tests__/Integration/ReverseGeocodeLookupsApi.Spec.Test.cs
index ae6fb58..988d378 100644
--- a/__tests__/Integration/ReverseGeocodeLookupsApi.Spec.Test.cs
+++ b/__tests__/Integration/ReverseGeocodeLookupsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class ReverseGeocodeLookupsApiTests : IDisposable
{
diff --git a/__tests__/Integration/SelfMailersApi.Spec.Test.cs b/__tests__/Integration/SelfMailersApi.Spec.Test.cs
index ed540dc..6ca8856 100644
--- a/__tests__/Integration/SelfMailersApi.Spec.Test.cs
+++ b/__tests__/Integration/SelfMailersApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Children)]
public class SelfMailersApiTests : IDisposable
{
diff --git a/__tests__/Integration/TemplateVersionsApi.Spec.Test.cs b/__tests__/Integration/TemplateVersionsApi.Spec.Test.cs
index 8d20c47..7f3d936 100644
--- a/__tests__/Integration/TemplateVersionsApi.Spec.Test.cs
+++ b/__tests__/Integration/TemplateVersionsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class TemplateVersionsApiTests : IDisposable
{
diff --git a/__tests__/Integration/TemplatesApi.Spec.Test.cs b/__tests__/Integration/TemplatesApi.Spec.Test.cs
index c2659e3..03c5563 100644
--- a/__tests__/Integration/TemplatesApi.Spec.Test.cs
+++ b/__tests__/Integration/TemplatesApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class TemplatesApiTests : IDisposable
{
diff --git a/__tests__/Integration/UsAutocompletionsApi.Spec.Test.cs b/__tests__/Integration/UsAutocompletionsApi.Spec.Test.cs
index 3bf3577..e3c5336 100644
--- a/__tests__/Integration/UsAutocompletionsApi.Spec.Test.cs
+++ b/__tests__/Integration/UsAutocompletionsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class UsAutocompletionsApiTests : IDisposable
{
diff --git a/__tests__/Integration/UsVerificationsApi.Spec.Test.cs b/__tests__/Integration/UsVerificationsApi.Spec.Test.cs
index de9ebf5..9b8e1e1 100644
--- a/__tests__/Integration/UsVerificationsApi.Spec.Test.cs
+++ b/__tests__/Integration/UsVerificationsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class UsVerificationsApiTests : IDisposable
{
diff --git a/__tests__/Integration/ZipLookupsApi.Spec.Test.cs b/__tests__/Integration/ZipLookupsApi.Spec.Test.cs
index f272491..5216b19 100644
--- a/__tests__/Integration/ZipLookupsApi.Spec.Test.cs
+++ b/__tests__/Integration/ZipLookupsApi.Spec.Test.cs
@@ -18,6 +18,7 @@
namespace __tests__.Integration {
[TestFixture]
+ [Category("Integration")]
[Parallelizable(scope: ParallelScope.Self)]
public class ZipLookupsApiTests : IDisposable
{