lo que se repite se automatiza

24
LO QUE SE REPITE SE AUTOMATIZA #RSGECU2015 ATDD + Visual Studio Slin Castro

Upload: scrumecuador

Post on 07-Aug-2015

145 views

Category:

Technology


1 download

TRANSCRIPT

LO QUE SE REPITE SE AUTOMATIZA

#RSGECU2015

ATDD + Visual Studio

Slin Castro

Temario

#RSGECU2015Slin Castro

• SCRUM• Artefactos , Roles, Reuniones

• Desarrollo• TDD

• Pruebas de funcionalidad

Ciclo de Desarrollo de Software

#RSGECU2015www.ndeveloper.comSlin Castro

Artefactos

#RSGECU2015Slin Castro www.ndeveloper.com

Roles

#RSGECU2015Slin Castro www.ndeveloper.com

Reuniones

#RSGECU2015Slin Castro

www.ndeveloper.com

Sprint

#RSGECU2015Slin Castro

Tarea

www.ndeveloper.com

Pruebas

#RSGECU2015Slin Castro

Matriz de Agile Testing

#RSGECU2015Slin Castro

www.ndeveloper.com

Pirámide de Pruebas

#RSGECU2015Slin Castro www.ndeveloper.com

TDD

#RSGECU2015Slin Castro

Ciclo

#RSGECU2015Slin Castro

ATDD

#RSGECU2015Slin Castro www.ndeveloper.com

Historia de Usuario

#RSGECU2015Slin Castro www.ndeveloper.com

Ambiente

#RSGECU2015Slin Castro

• NUnit Adapter (Beta 4) (agregado desde "Extensions and Updates" del IDE)• NUnit (agregado al proyecto de pruebas)• Selenium Web Driver (conjuntamente con el Web Driver Server -

IEDriverServer.exe)• SpecFlow Adapter (agregado desde "Extensions and Updates" del IDE)• SpecFlow (agregado al proyecto de pruebas)

www.ndeveloper.com

Criterio de Aceptación

#RSGECU2015Slin Castro

Feature: CreacionSe necesita Crear Suscripciones para varios clientes

@ValidacionScenario: Validacion de CamposGiven Navego hacia la Pagina CreacionWhen presiono guardarThen visualizo "Este campo es obligatorio" en la pantalla

www.ndeveloper.com

Glue Code

#RSGECU2015Slin Castro

[Given(@"Navego hacia la Pagina Creacion")] public void GivenNavegoHaciaLaPaginaCreacion() { _atdd.Navegar("Create"); }

[Then(@"visualizo ""(.*)"" en la pantalla")] public void ThenVisualizoEnLaPantalla(string p0) { }

[When(@"presiono guardar")] public void WhenPresionoGuardar() { _atdd.ClickSubmit(); }

www.ndeveloper.com

Driver

#RSGECU2015Slin Castro

public void ClickSubmit() { ie.Driver.FindElementByCssSelector("input[type='submit']").Click(); }

public void Navegar(string pagina) {

ie.Driver.Navigate().GoToUrl(string.Concat("http://localhost:23178/Suscripcion/", pagina)); }

www.ndeveloper.com

Assertion Library

#RSGECU2015Slin Castro

[Then(@"visualizo ""(.*)"" en la pantalla")] public void ThenVisualizoEnLaPantalla(string p0) { Assert.IsTrue(_atdd.IsValuePresent(p0)); }

www.ndeveloper.com

Runtime

#RSGECU2015Slin Castro www.ndeveloper.com

Arquitectura

#RSGECU2015Slin Castro www.ndeveloper.com

Inquietudes

#RSGECU2015Slin Castro

• ¿Por qué automatizar?• ¿Que automatizar?• ¿Cuando automatizar?• ¿Quien automatiza?• ¿Cómo automatizar?• ¿Con que automatizar?

www.ndeveloper.com

Contacto

#RSGECU2015Slin Castro

[email protected][email protected]• @Slin_dkDroid• Slincastro.wordpress.com