Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.06 KB

DEVELOP.md

File metadata and controls

54 lines (35 loc) · 1.06 KB

Development

Running the tests

Grab the TruBank Server token and secret for UAT and Buster credentials from 1password.

export TRUSONA_TOKEN=<token>
export TRUSONA_SECRET=<secret>
export BUSTER_USERNAME=<un>
export BUSTER_PASSWORD=<pw>

In your IDE/editor, find all places where we've commented out the [Fact] annotation and uncomment them

From the root of the project, run:

dotnet test TrusonaSDK.Test

Don't forget to re-comment out the tests:

git checkout -- .

Running just the unit tests

dotnet test TrusonaSDK.Test --filter Category!=Integration

Releasing

Bumping the version

In Visual Studio, right click on the trusona-server-sdk-dotnet top level solution and click Options

Under Main Settings, set the Version and click OK

Verify there are two changed files by running git status

	modified:   TrusonaSDK.API/TrusonaSDK.API.csproj
	modified:   trusona-server-sdk-dotnet.sln

Commit and push your changes

Deploying

  1. Ensure a clean working directory
  2. ./release.sh