Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 965 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 965 Bytes

Dev Requirements:

Run Tests (Local / Dotnet):

From the root directory: dotnet test -e DOTNET_ENVIRONMENT=Development

Run Tests (Docker):

From the root directory

  1. Build container image (below)
  2. Run container w/ credentials of a valid user docker run -e "Credentials__username=<email>" -e "Credentials__password=<password>" <image name>

Build Container Image:

Run the below in the repository root directory docker build --tag "<image name>" -f Amezmo.Tests.E2E/. .

Run the image / tests (only would work headless for now) docker run -e "Credentials__username=<email>" -e "Credentials__password=<password>" <image name>

Settings

  • Local Development: .env file and Dotnet User Secrets file
  • Container (available environment args):
  • Credentials__username=
  • Credentials__password=
  • BASE_URL=

This will be replaced by secret ops