Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Ejemplo Proyecto Final Software: Git Xunit

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Ejemplo Proyecto Final Sof tware

git
.net 5
xUnit

Juan Luis Carrillo Garcia | j u a n _ ca r r i l l og @ my. u ni te c. e d u. mx | @ jyacomp | linkedin.com/in/jlcarrillog/


BlackBoard

Sof tware
2ª par te del Proyecto de
Tests
Todos los integrantes
using System;
namespace Program
{

deben hacer por lo


class Program
{
static void Main()
{
Calculator cal = new Calculator();

menos un commit
double p = cal.Perimetro(8.5);
Console.WriteLine("P: " + p);

double a = cal.Area(8.5);

Documento.pdf
Console.WriteLine("A: " + a);

Metería:
}
}
}

Tema:
Integrantes:
Equipo:
Fecha:
Git*:

Git

src test
https://gist.github.com/jyacomp/92ddd3ef58d12cf8362c28f38d30bef0
https://d3vsoft-my.sharepoint.com/:w:/g/personal/luis_edu_d3v_mx/EXW4KWE3EIBKulxsYpBfeZIBl3nTNW3i2q5liUW6O2QHiA

Juan Luis Carrillo Garcia | j u a n _ ca r r i l l og @ my. u ni te c. e d u. mx | @ jyacomp | linkedin.com/in/jlcarrillog/


Integration
Tests
User Interface

Web Domain Mail

Application

Infrastructure

Juan Luis Carrillo Garcia | j u a n _ ca r r i l l og @ my. u ni te c. e d u. mx | @ jyacomp | linkedin.com/in/jlcarrillog/


/Proj> dotnet new xunit -o test/WebUI.IntegrationTest
The template "xUnit Test Project" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on tests/Application.UnitTest\Application.UnitTest.csproj...
Determining projects to restore...
Restore succeeded.

/Proj> dotnet add test/WebUI.IntegrationTest package Microsoft.AspNetCore.Mvc.Testing


Determining projects to restore...
Writing C:\Users\jlcar\AppData\Local\Temp\tmp193E.tmp
info : Adding PackageReference for package 'Microsoft.AspNetCore.Mvc.Testing' into project 'E:\codes\is\Proj\tests\WebUI.IntegrationTest\WebUI.IntegrationTest.csproj'.
...
info : Writing assets file to disk. Path: E:\codes\is\Proj\tests\WebUI.IntegrationTest\obj\project.assets.json
log : Restored E:\codes\is\Proj\tests\WebUI.IntegrationTest\WebUI.IntegrationTest.csproj (in 2.88 sec).

/Proj> dotnet add test/WebUI.IntegrationTest reference src/WebUI


Reference `..\..\src\WebUI\WebUI.csproj` added to the project.

https://gist.github.com/jyacomp/015b4768662c5756293529214b752053

Juan Luis Carrillo Garcia | j u a n _ ca r r i l l og @ my. u ni te c. e d u. mx | @ jyacomp | linkedin.com/in/jlcarrillog/


Proj

Juan Luis Carrillo Garcia | j u a n _ ca r r i l l og @ my. u ni te c. e d u. mx | @ jyacomp | linkedin.com/in/jlcarrillog/


Proj
src
Application
Cuadrado.cs
PrismaCuadrangular.cs

ConsoleUI
Program.cs

WebUI

Index.cshtml
Privacy.cshtml
Startup.cs

Application.UnitTest
UnitTestCuadrado.cs
UnitTestPrismaCuadrangular.cs

Application.IntegrationTest
IntegrationTestApplication.cs

WebUI.IntegrationTest
IntegrationTestPages.cs

Juan Luis Carrillo Garcia | j u a n _ ca r r i l l og @ my. u ni te c. e d u. mx | @ jyacomp | linkedin.com/in/jlcarrillog/


Juan Luis Carrillo Garcia | j u a n _ ca r r i l l og @ my. u ni te c. e d u. mx | @ jyacomp | linkedin.com/in/jlcarrillog/
Proj
src
Application
Cuadrado.cs
PrismaCuadrangular.cs

ConsoleUI
Program.cs

WebUI

Index.cshtml
Privacy.cshtml
Startup.cs

Application.UnitTest
UnitTestCuadrado.cs
UnitTestPrismaCuadrangular.cs

Application.IntegrationTest
IntegrationTestApplication.cs

WebUI.IntegrationTest
IntegrationTestPages.cs

Juan Luis Carrillo Garcia | j u a n _ ca r r i l l og @ my. u ni te c. e d u. mx | @ jyacomp | linkedin.com/in/jlcarrillog/


Proj
src
Application
Cuadrado.cs
PrismaCuadrangular.cs

ConsoleUI
Program.cs

WebUI

Index.cshtml
Privacy.cshtml
Startup.cs

Application.UnitTest
UnitTestCuadrado.cs
UnitTestPrismaCuadrangular.cs

Application.IntegrationTest
IntegrationTestApplication.cs

WebUI.IntegrationTest
IntegrationTestPages.cs

Juan Luis Carrillo Garcia | j u a n _ ca r r i l l og @ my. u ni te c. e d u. mx | @ jyacomp | linkedin.com/in/jlcarrillog/

You might also like