All Projects → giggio-samples → Aspnetcore Tests Sample

giggio-samples / Aspnetcore Tests Sample

Licence: apache-2.0
A project to help demonstrate how to do unit, integration and acceptance tests with an web api project using ASP.NET Core and Angular 7 front end.

Projects that are alternatives of or similar to Aspnetcore Tests Sample

Hexagonal-architecture-ASP.NET-Core
App generator API solution template which is built on Hexagnonal Architecture with all essential feature using .NET Core
Stars: ✭ 57 (+42.5%)
Mutual labels:  unit-testing, aspnetcore, integration-testing, asp-net-core
Onion Architecture Asp.net Core
WhiteApp API solution template which is built on Onion Architecture with all essential feature using .NET 5!
Stars: ✭ 196 (+390%)
Mutual labels:  asp-net-core, aspnetcore, unit-testing, integration-testing
MinimalApi
ASP.NET Core 7.0 - Minimal API Example - Todo API implementation using ASP.NET Core Minimal API, Entity Framework Core, Token authentication, Versioning, Unit Testing, Integration Testing and Open API.
Stars: ✭ 156 (+290%)
Mutual labels:  unit-testing, aspnetcore, asp-net-core
JwtAuthDemo
ASP.NET Core + Angular JWT auth demo; integration tests; login, logout, refresh token, impersonation, authentication, authorization; run on Docker Compose.
Stars: ✭ 278 (+595%)
Mutual labels:  aspnetcore, integration-testing, asp-net-core
Awesome Blazor
Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
Stars: ✭ 6,063 (+15057.5%)
Mutual labels:  asp-net-core, aspnetcore
Java Dns Cache Manipulator
🌏 A simple 0-dependency thread-safe Java™ lib/tool for setting dns programmatically without touching host file, make unit/integration test portable.
Stars: ✭ 557 (+1292.5%)
Mutual labels:  unit-testing, integration-testing
Cleanarchitecture.webapi
An implementation of Clean Architecture for ASP.NET Core 3.1 WebAPI. Built with loosely coupled architecture and clean-code practices in mind.
Stars: ✭ 615 (+1437.5%)
Mutual labels:  asp-net-core, aspnetcore
Nopcommerce
The most popular open-source eCommerce shopping cart solution based on ASP.NET Core
Stars: ✭ 6,827 (+16967.5%)
Mutual labels:  asp-net-core, aspnetcore
Bunit
A testing library for Blazor Components. You can easily define components under test in C# or Razor syntax and verify outcome using semantic HTML diffing/comparison logic. You can easily interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJSRuntime, and perform snapshot testing.
Stars: ✭ 415 (+937.5%)
Mutual labels:  unit-testing, nunit
Practical Aspnetcore
Practical samples of ASP.NET Core 2.1, 2.2, 3.1, 5.0 and 6.0 projects you can use. Readme contains explanations on all projects.
Stars: ✭ 6,199 (+15397.5%)
Mutual labels:  asp-net-core, aspnetcore
Jpproject.identityserver4.adminui
🔧 ASP.NET Core 3 & Angular 8 Administration Panel for 💞IdentityServer4 and ASP.NET Core Identity
Stars: ✭ 717 (+1692.5%)
Mutual labels:  asp-net-core, aspnetcore
Equinoxproject
Full ASP.NET Core 5 application with DDD, CQRS and Event Sourcing concepts
Stars: ✭ 5,120 (+12700%)
Mutual labels:  asp-net-core, aspnetcore
Netcorebbs
ASP.NET Core Light forum NETCoreBBS
Stars: ✭ 483 (+1107.5%)
Mutual labels:  asp-net-core, aspnetcore
Asp.net Core Template
A ready-to-use template for ASP.NET Core with repositories, services, models mapping, DI and StyleCop warnings fixed.
Stars: ✭ 599 (+1397.5%)
Mutual labels:  asp-net-core, aspnetcore
Codeception
Full-stack testing PHP framework
Stars: ✭ 4,401 (+10902.5%)
Mutual labels:  unit-testing, integration-testing
Aspnetcore Developer Roadmap
Roadmap to becoming an ASP.NET Core developer in 2021
Stars: ✭ 8,248 (+20520%)
Mutual labels:  asp-net-core, aspnetcore
Znetcs.aspnetcore.logging.entityframeworkcore
This is Entity Framework Core logger and logger provider. A small package to allow store logs in any data store using Entity Framework Core.
Stars: ✭ 24 (-40%)
Mutual labels:  asp-net-core, aspnetcore
Jwtsecurity
JWT Server for Asp.Net Core and Asp.Net WebAPI2
Stars: ✭ 16 (-60%)
Mutual labels:  asp-net-core, aspnetcore
Csla
A home for your business logic in any .NET application.
Stars: ✭ 865 (+2062.5%)
Mutual labels:  asp-net-core, aspnetcore
Litecodecore
基于asp.net Core 基础权限系统
Stars: ✭ 13 (-67.5%)
Mutual labels:  asp-net-core, aspnetcore

Sample ASP.NET Core + Angular project with tests

A project to help demonstrate how to do unit, integration and acceptance tests with an web api project using ASP.NET Core and Angular 7 front end.

Running the tests

From the terminal, in the project root, simply run:

dotnet test

Or run them from each test project directory (on the test subdir) or directly from Visual Studio.

Running the api app

Run dotnet run from src/SampleApp.

Running the web front end

First run the api app, then run npm start from src/FrontEnd.

Supported .NET SDK and CLI versions

This was compiled with the v2.2.2 sdk (dotnet version 2.2.104). Anything after that should run. To try different versions, simply remove global.json from the root.

Download the SDK.

Contributing

Questions, comments, bug reports, and pull requests are all welcome. Submit them at the project on GitHub.

Bug reports that include steps-to-reproduce (including code) are the best. Even better, make them in the form of pull requests.

Author

Giovanni Bassi

License

Licensed under the Apache License, Version 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].