Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 2.54 KB

README.md

File metadata and controls

67 lines (43 loc) · 2.54 KB

BDD demo using Specflow

This is a demo repository of BDD. The focus here is not the source code, but rather the functional tests written using Specflow. This is a forked repository from https://github.com/simplcommerce/SimplCommerce.

Runnning tests

  • TODO

About the original project

A simple, cross platform, modularized ecommerce system built on .NET Core Join the chat at https://gitter.im/simplcommerce/SimplCommerce

Online demo (Azure Website)

Docker

For testing purpose only docker run -p 5000:80 simplcommerce/ci-build

Continuous deployment: https://ci.simplcommerce.com

Windows with SQL Server

Prerequisites

  • SQL Server
  • Visual Studio 2022

Steps to run

  • Update the connection string in appsettings.json in SimplCommerce.WebHost (all you have to do is to change the server)
  • Build the whole solution.
  • In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project
  • Open the Package Manager Console Window and make sure that SimplCommerce.WebHost is selected as the Default project. Then type "Update-Database" then press "Enter". This action will create the database schema.
  • In Visual Studio, press "Control + F5".
  • The back-office can be accessed via /Admin using the following built-in account: [email protected], 1qazZAQ!

Mac/Linux with PostgreSQL

Prerequisite

  • PostgreSQL
  • .NET Core SDK 6.0
  • Entity Framework Core (dotnet tool install --global dotnet-ef)

Steps to run

  • Update the connection string in appsettings.json in SimplCommerce.WebHost.
  • Run the simpl-build.sh file by issuing the following command: "sudo ./simpl-build.sh". For ubuntu 18: "sudo bash simpl-build.sh"
  • In the terminal, navigate to "src/SimplCommerce.WebHost" and type "dotnet run" and then hit "Enter".
  • Open http://localhost:5000 in the browser. The back-office can be accessed via /Admin using the following built-in account: [email protected], 1qazZAQ!

Technologies and frameworks used:

  • ASP.NET MVC Core 6.0
  • Entity Framework Core 6.0
  • ASP.NET Identity Core 6.0
  • Angular 1.6.3
  • MediatR 7.0.0 for domain event
  • Specflow 3.9.40

License

SimplCommerce is licensed under the Apache 2.0 license.