Skip to content

NotAsea/SmokeTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmokeTestLogin

Description

This project use for example of Smoke test it contain 3 project

 SmokeTestLogin.sln
 |-- SmokeTestLogin.Data
 |-- SmokeTestLogin.Web
 |-- SmokeTestLogin.Test
 |-- SmokeTestLogin.Logic

SQLite database is used for sake of simple, only Entity Framework Core is required, anything else is native ASP.NET CORE, Bogus.Faker is used for generating fake data, but can be remove

Build

  • ensure dotnet sdk at least 6 is installed, or Visual Studio 2022 with Web development workload installed
  • prefer open terminal or bash in Linux to scaffold database (Note it's already had Seed Data)
:: ensure stay in solution Directory
dotnet restore
dotnet tool install -- global dotnet-ef --version 7.0.10
dotnet ef database update --project .\SmokeTestLogin.Data\SmokeTestLogin.Data.csproj --startup-project .\SmokeTestLogin\SmokeTestLogin.Web.csproj
:: for mac / linux
:: dotnet ef database update --project ./SmokeTestLogin.Data/SmokeTestLogin.Data.csproj --startup-project ./SmokeTestLogin/SmokeTestLogin.Web.csproj
  • after database has been update, simple build in visual studio or run dotnet build

Password generate can be found at here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published