Skip to content

Commit

Permalink
spec: casos de uso (#55)
Browse files Browse the repository at this point in the history
* task: adiciona especificações de casos de uso

* task: esclarece features
  • Loading branch information
marcelodiasbr authored Jan 21, 2024
1 parent 239f1f6 commit a08c924
Show file tree
Hide file tree
Showing 115 changed files with 5,981 additions and 196 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main_meuponto_web_cosmos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Test Specs (Web)
run: dotnet test specs/MeuPonto.Specs/MeuPonto.Specs.csproj --configuration Release --verbosity normal --filter:"Category!=wip"

- name: Test Use Cases (Web)
run: dotnet test specs/MeuPonto.UseCases/MeuPonto.UseCases.csproj --configuration Release --verbosity normal --filter:"Category!=wip"

- name: Test Web
run: dotnet test tests/MeuPonto.Web.Tests/MeuPonto.Web.Tests.csproj --configuration Release --verbosity normal

Expand Down
76 changes: 76 additions & 0 deletions MeuPonto.sln
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Billing.GlobalTableModel",
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "1 - Presentation", "1 - Presentation", "{64ED9368-0F1D-46DB-9F45-2E1F8281EB68}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MeuPonto.UseCases.Web", "specs\MeuPonto.UseCases.Web\MeuPonto.UseCases.Web.csproj", "{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MeuPonto.UseCases.Desktop", "specs\MeuPonto.UseCases.Desktop\MeuPonto.UseCases.Desktop.csproj", "{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MeuPonto.UseCases.WebApi", "specs\MeuPonto.UseCases.WebApi\MeuPonto.UseCases.WebApi.csproj", "{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MeuPonto.UseCases", "specs\MeuPonto.UseCases\MeuPonto.UseCases.csproj", "{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug_Cosmos|Any CPU = Debug_Cosmos|Any CPU
Expand Down Expand Up @@ -455,6 +463,70 @@ Global
{06F58A0F-FB08-4F36-A532-BE210B1AC05D}.Release_SqlServer|Any CPU.Build.0 = Release_SqlServer|Any CPU
{06F58A0F-FB08-4F36-A532-BE210B1AC05D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{06F58A0F-FB08-4F36-A532-BE210B1AC05D}.Release|Any CPU.Build.0 = Release|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Debug_Cosmos|Any CPU.ActiveCfg = Debug_Cosmos|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Debug_Cosmos|Any CPU.Build.0 = Debug_Cosmos|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Debug_Sqlite|Any CPU.ActiveCfg = Debug_Sqlite|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Debug_Sqlite|Any CPU.Build.0 = Debug_Sqlite|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Debug_SqlServer|Any CPU.ActiveCfg = Debug_SqlServer|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Debug_SqlServer|Any CPU.Build.0 = Debug_SqlServer|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Release_Cosmos|Any CPU.ActiveCfg = Release_Cosmos|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Release_Cosmos|Any CPU.Build.0 = Release_Cosmos|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Release_Sqlite|Any CPU.ActiveCfg = Release_Sqlite|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Release_Sqlite|Any CPU.Build.0 = Release_Sqlite|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Release_SqlServer|Any CPU.ActiveCfg = Release_SqlServer|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Release_SqlServer|Any CPU.Build.0 = Release_SqlServer|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3}.Release|Any CPU.Build.0 = Release|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Debug_Cosmos|Any CPU.ActiveCfg = Debug_Cosmos|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Debug_Cosmos|Any CPU.Build.0 = Debug_Cosmos|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Debug_Sqlite|Any CPU.ActiveCfg = Debug_Sqlite|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Debug_Sqlite|Any CPU.Build.0 = Debug_Sqlite|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Debug_SqlServer|Any CPU.ActiveCfg = Debug_SqlServer|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Debug_SqlServer|Any CPU.Build.0 = Debug_SqlServer|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Release_Cosmos|Any CPU.ActiveCfg = Release_Cosmos|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Release_Cosmos|Any CPU.Build.0 = Release_Cosmos|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Release_Sqlite|Any CPU.ActiveCfg = Release_Sqlite|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Release_Sqlite|Any CPU.Build.0 = Release_Sqlite|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Release_SqlServer|Any CPU.ActiveCfg = Release_SqlServer|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Release_SqlServer|Any CPU.Build.0 = Release_SqlServer|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE}.Release|Any CPU.Build.0 = Release|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Debug_Cosmos|Any CPU.ActiveCfg = Debug_Cosmos|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Debug_Cosmos|Any CPU.Build.0 = Debug_Cosmos|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Debug_Sqlite|Any CPU.ActiveCfg = Debug_Sqlite|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Debug_Sqlite|Any CPU.Build.0 = Debug_Sqlite|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Debug_SqlServer|Any CPU.ActiveCfg = Debug_SqlServer|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Debug_SqlServer|Any CPU.Build.0 = Debug_SqlServer|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Release_Cosmos|Any CPU.ActiveCfg = Release_Cosmos|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Release_Cosmos|Any CPU.Build.0 = Release_Cosmos|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Release_Sqlite|Any CPU.ActiveCfg = Release_Sqlite|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Release_Sqlite|Any CPU.Build.0 = Release_Sqlite|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Release_SqlServer|Any CPU.ActiveCfg = Release_SqlServer|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Release_SqlServer|Any CPU.Build.0 = Release_SqlServer|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92}.Release|Any CPU.Build.0 = Release|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Debug_Cosmos|Any CPU.ActiveCfg = Debug_Cosmos|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Debug_Cosmos|Any CPU.Build.0 = Debug_Cosmos|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Debug_Sqlite|Any CPU.ActiveCfg = Debug_Sqlite|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Debug_Sqlite|Any CPU.Build.0 = Debug_Sqlite|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Debug_SqlServer|Any CPU.ActiveCfg = Debug_SqlServer|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Debug_SqlServer|Any CPU.Build.0 = Debug_SqlServer|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Release_Cosmos|Any CPU.ActiveCfg = Release_Cosmos|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Release_Cosmos|Any CPU.Build.0 = Release_Cosmos|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Release_Sqlite|Any CPU.ActiveCfg = Release_Sqlite|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Release_Sqlite|Any CPU.Build.0 = Release_Sqlite|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Release_SqlServer|Any CPU.ActiveCfg = Release_SqlServer|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Release_SqlServer|Any CPU.Build.0 = Release_SqlServer|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -490,6 +562,10 @@ Global
{5D697FA2-3F7A-4722-BBAE-80D32166F3B9} = {FF754EF2-E8A3-4742-98BE-81E110031EC7}
{A82ADCFF-BD80-4498-B2DF-73B2FFDF03CC} = {E52949B0-FCF3-4B10-9088-06D56B1ABB24}
{06F58A0F-FB08-4F36-A532-BE210B1AC05D} = {E52949B0-FCF3-4B10-9088-06D56B1ABB24}
{4DD01754-E291-49A8-9BD1-2C1335D3A4F3} = {96AC4030-DACF-4EDF-87A5-46C0C4834F8A}
{11FD5F2E-8BAE-4E29-AF85-9707B51DE2DE} = {96AC4030-DACF-4EDF-87A5-46C0C4834F8A}
{FEBB602B-7EB9-4E2E-8AB4-51AA1CCB0B92} = {96AC4030-DACF-4EDF-87A5-46C0C4834F8A}
{B9EB6C7E-1A17-4811-8FF3-CE2A978798BC} = {96AC4030-DACF-4EDF-87A5-46C0C4834F8A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2C3B2B12-9834-4C19-8682-DC85A58E8812}
Expand Down
12 changes: 0 additions & 12 deletions specs/MeuPonto.ConceptualModel/Concepts/ApuracaoDiaria.cs

This file was deleted.

11 changes: 0 additions & 11 deletions specs/MeuPonto.ConceptualModel/Concepts/ApuracaoMensal.cs

This file was deleted.

10 changes: 0 additions & 10 deletions specs/MeuPonto.ConceptualModel/Concepts/Comprovante.cs

This file was deleted.

10 changes: 0 additions & 10 deletions specs/MeuPonto.ConceptualModel/Concepts/Contrato.cs

This file was deleted.

6 changes: 0 additions & 6 deletions specs/MeuPonto.ConceptualModel/Concepts/Empregador.cs

This file was deleted.

12 changes: 0 additions & 12 deletions specs/MeuPonto.ConceptualModel/Concepts/Folha.cs

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions specs/MeuPonto.ConceptualModel/Concepts/Ponto.cs

This file was deleted.

6 changes: 0 additions & 6 deletions specs/MeuPonto.ConceptualModel/Concepts/Trabalhador.cs

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
using MeuPonto.Drivers;
using MeuPonto.Support;
using System.Transactions;
using Timesheet.Features.BackupComprovantes;
using Timesheet.Features.RegistroPontos;
using Timesheet.Models.Pontos;
using Timesheet.Models.Pontos.BackupComprovantes;
using Timesheet.Models.Pontos.RegistroPontos;

namespace MeuPonto.StepDefinitions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
using MeuPonto.Drivers;
using MeuPonto.Support;
using System.Transactions;
using Timesheet.Features.GestaoFolha;
using Timesheet.Features.RegistroPontos;
using Timesheet.Models.Folhas;
using Timesheet.Models.Folhas.GestaoFolha;
using Timesheet.Models.Pontos;
using Timesheet.Models.Pontos.RegistroPontos;

namespace MeuPonto.StepDefinitions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using MeuPonto.Data;
using MeuPonto.Drivers;
using MeuPonto.Support;
using Timesheet.Features.RegistroPontos;
using Timesheet.Models.Pontos;
using Timesheet.Models.Pontos.RegistroPontos;

namespace MeuPonto.StepDefinitions;

Expand Down
8 changes: 4 additions & 4 deletions specs/MeuPonto.Specs/Support/SeedHook.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using BoDi;
using MeuPonto.Models.Trabalhadores;
using System.Transactions;
using Timesheet.Features.BackupComprovantes;
using Timesheet.Features.GestaoContratos;
using Timesheet.Features.GestaoFolha;
using Timesheet.Features.RegistroPontos;
using Timesheet.Models.Contratos;
using Timesheet.Models.Contratos.GestaoContratos;
using Timesheet.Models.Folhas;
using Timesheet.Models.Folhas.GestaoFolha;
using Timesheet.Models.Pontos;
using Timesheet.Models.Pontos.BackupComprovantes;
using Timesheet.Models.Pontos.RegistroPontos;

namespace MeuPonto.Support;

Expand Down
14 changes: 0 additions & 14 deletions specs/MeuPonto.SystemModel/MeuPonto.SystemModel.csproj

This file was deleted.

8 changes: 0 additions & 8 deletions specs/MeuPonto.SystemModel/Modules/HomeInterface.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit a08c924

Please sign in to comment.