Skip to content

Commit 9f84b00

Browse files
committed
init
0 parents  commit 9f84b00

85 files changed

Lines changed: 14673 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main, develop ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
17+
- name: Setup .NET
18+
uses: actions/setup-dotnet@v3
19+
with:
20+
dotnet-version: 8.0.x
21+
22+
- name: Restore dependencies
23+
run: dotnet restore
24+
25+
- name: Build
26+
run: dotnet build --no-restore --configuration Release
27+
28+
- name: Run tests
29+
run: |
30+
dotnet test --no-build --configuration Release \
31+
--logger "trx;LogFileName=test-results.trx" \
32+
/p:CollectCoverage=true \
33+
/p:CoverletOutputFormat=cobertura \
34+
/p:CoverletOutput=./TestResults/ \
35+
/p:Exclude="[*.Tests]*"
36+
37+
- name: Upload test results
38+
if: always()
39+
uses: actions/upload-artifact@v3
40+
with:
41+
name: test-results
42+
path: '**/test-results.trx'
43+
44+
- name: Code Coverage Report
45+
uses: irongut/[email protected]
46+
with:
47+
filename: tests/**/TestResults/coverage.cobertura.xml
48+
badge: true
49+
format: markdown
50+
output: both
51+
52+
- name: Add Coverage PR Comment
53+
uses: marocchino/sticky-pull-request-comment@v2
54+
if: github.event_name == 'pull_request'
55+
with:
56+
recreate: true
57+
path: code-coverage-results.md
58+
59+
- name: Upload coverage reports to Codecov
60+
uses: codecov/codecov-action@v3
61+
if: always()
62+
with:
63+
files: tests/**/TestResults/coverage.cobertura.xml
64+
flags: unittests
65+
name: codecov-umbrella
66+
fail_ci_if_error: false

.gitignore

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Build results
2+
[Dd]ebug/
3+
[Dd]ebugPublic/
4+
[Rr]elease/
5+
[Rr]eleases/
6+
x64/
7+
x86/
8+
[Aa]rm/
9+
[Aa]rm64/
10+
bld/
11+
[Bb]in/
12+
[Oo]bj/
13+
[Ll]og/
14+
[Ll]ogs/
15+
16+
# Visual Studio cache/options
17+
.vs/
18+
.vscode/
19+
.idea/
20+
.claude/
21+
.playwright-mcp/
22+
23+
24+
# User-specific files
25+
*.rsuser
26+
*.suo
27+
*.user
28+
*.userosscache
29+
*.sln.docstates
30+
31+
# NuGet Packages
32+
*.nupkg
33+
*.snupkg
34+
**/packages/*
35+
!**/packages/build/
36+
*.nuget.props
37+
*.nuget.targets
38+
39+
# Test Results
40+
[Tt]est[Rr]esult*/
41+
[Bb]uild[Ll]og.*
42+
*.trx
43+
*.coverage
44+
*.coveragexml
45+
46+
# .NET Core
47+
project.lock.json
48+
project.fragment.lock.json
49+
artifacts/
50+
51+
# Rider
52+
.idea/
53+
*.sln.iml
54+
55+
# macOS
56+
.DS_Store
57+
58+
# Windows
59+
Thumbs.db
60+
ehthumbs.db
61+
CLAUDE.md

EasyAppDev.Blazor.Store.sln

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EasyAppDev.Blazor.Store", "src\EasyAppDev.Blazor.Store\EasyAppDev.Blazor.Store.csproj", "{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}"
9+
EndProject
10+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0AB3BF05-4346-4AA6-1389-037BE0695223}"
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EasyAppDev.Blazor.Store.Tests", "tests\EasyAppDev.Blazor.Store.Tests\EasyAppDev.Blazor.Store.Tests.csproj", "{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}"
13+
EndProject
14+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{5D20AA90-6969-D8BD-9DCD-8634F4692FDA}"
15+
EndProject
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EasyAppDev.Blazor.Store.Sample", "samples\EasyAppDev.Blazor.Store.Sample\EasyAppDev.Blazor.Store.Sample.csproj", "{00674D7C-34EB-409B-A32E-5AF7DFA50D37}"
17+
EndProject
18+
Global
19+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
20+
Debug|Any CPU = Debug|Any CPU
21+
Debug|x64 = Debug|x64
22+
Debug|x86 = Debug|x86
23+
Release|Any CPU = Release|Any CPU
24+
Release|x64 = Release|x64
25+
Release|x86 = Release|x86
26+
EndGlobalSection
27+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
28+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Debug|Any CPU.Build.0 = Debug|Any CPU
30+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Debug|x64.ActiveCfg = Debug|Any CPU
31+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Debug|x64.Build.0 = Debug|Any CPU
32+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Debug|x86.ActiveCfg = Debug|Any CPU
33+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Debug|x86.Build.0 = Debug|Any CPU
34+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Release|Any CPU.ActiveCfg = Release|Any CPU
35+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Release|Any CPU.Build.0 = Release|Any CPU
36+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Release|x64.ActiveCfg = Release|Any CPU
37+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Release|x64.Build.0 = Release|Any CPU
38+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Release|x86.ActiveCfg = Release|Any CPU
39+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E}.Release|x86.Build.0 = Release|Any CPU
40+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Debug|x64.ActiveCfg = Debug|Any CPU
43+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Debug|x64.Build.0 = Debug|Any CPU
44+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Debug|x86.ActiveCfg = Debug|Any CPU
45+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Debug|x86.Build.0 = Debug|Any CPU
46+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Release|Any CPU.ActiveCfg = Release|Any CPU
47+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Release|Any CPU.Build.0 = Release|Any CPU
48+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Release|x64.ActiveCfg = Release|Any CPU
49+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Release|x64.Build.0 = Release|Any CPU
50+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Release|x86.ActiveCfg = Release|Any CPU
51+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78}.Release|x86.Build.0 = Release|Any CPU
52+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
53+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Debug|Any CPU.Build.0 = Debug|Any CPU
54+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Debug|x64.ActiveCfg = Debug|Any CPU
55+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Debug|x64.Build.0 = Debug|Any CPU
56+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Debug|x86.ActiveCfg = Debug|Any CPU
57+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Debug|x86.Build.0 = Debug|Any CPU
58+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Release|Any CPU.ActiveCfg = Release|Any CPU
59+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Release|Any CPU.Build.0 = Release|Any CPU
60+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Release|x64.ActiveCfg = Release|Any CPU
61+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Release|x64.Build.0 = Release|Any CPU
62+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Release|x86.ActiveCfg = Release|Any CPU
63+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37}.Release|x86.Build.0 = Release|Any CPU
64+
EndGlobalSection
65+
GlobalSection(SolutionProperties) = preSolution
66+
HideSolutionNode = FALSE
67+
EndGlobalSection
68+
GlobalSection(NestedProjects) = preSolution
69+
{E9082EA4-D24F-4FE1-BE1E-4A06A0F0355E} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
70+
{A06FE2FC-C002-4BAC-AFFA-5ABE8595CF78} = {0AB3BF05-4346-4AA6-1389-037BE0695223}
71+
{00674D7C-34EB-409B-A32E-5AF7DFA50D37} = {5D20AA90-6969-D8BD-9DCD-8634F4692FDA}
72+
EndGlobalSection
73+
EndGlobal

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Mashrul Hossain
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)