3. Agile > Kortere iteraties
Complexe software
Kwaliteit behouden
Idee dat automatisch testen moeilijk is…
Aanleiding
Time
Sales
4. Automatisch testen met minimale effort
Automatisch Unit testen op de Build Server
Automatisch UI testen op de Build Server
Rapportages over resultaten
Geen gebruik van Lab Management
Geen gebruik van Test Manager
Opzet/doel
5. TFS!
Code in Source Control
Build Server
◦ Visual Studio (Premium) installeren
◦ Build Drop directory
Demo
Voorbereidingen
7. C# code
Ondersteunde OS’es
◦ Windows 7
◦ Windows Server 2008 R2
◦ Windows 8
Ondersteunde technologiën (o.a.)
◦ Internet Explorer 8
◦ Internet Explorer 9
◦ Internet Explorer 10 (desktop)
◦ Windows Forms (>= 2.0) and WPF (>= 3.5) third party controls
◦ Chrome
◦ Firefox
◦ Silverlight (plugin)
◦ SharePoint
◦ Dynamics CRM web client
Coded UI tests
8. Kandidaten voor UI tests
◦ Stabiele functionaliteit
◦ Veel gebruikte functionaliteit
◦ Kritische functionaliteit
Let op met data!
◦ Standaard vulling database
◦ Eventueel mocking voor data
Demo
Coded UI tests
9. Inrichting Build Server/test server
◦ Test Controller/Test Agent
◦ Service user zelfde als Build Service
◦ Test Agent > Interactive
◦ Build agent > Interactive
◦ Machine moet ingelogd zijn
Demo
Coded UI tests
13. Standaard rapportages (Scrum template)
◦ Build Success over time
◦ Build Summary
◦ Test rapportages werken niet zonder Test Cases/Test
Plan/Test results
Custom rapportages
◦ Excel
◦ SSRS
Demo
Rapportage
14. Fokko Veegens
ALM Consultant bij Delta-N
@FokkoVeegens
http://www.delta-n.nl
http://veegens.wordpress.com
http://nl.linkedin.com/in/fokkoveegens
Over mij
15. How to: Configure and Run Scheduled Tests After Building Your
Application
◦ http://msdn.microsoft.com/en-us/library/ms182465.aspx
How to: Set Up Your Test Agent to Run Tests that Interact with the
Desktop
◦ http://msdn.microsoft.com/en-us/library/ee291332(v=vs.110).aspx
Run Tests in Your Build Process
◦ http://msdn.microsoft.com/en-us/library/ms253138(v=vs.110).aspx
Test Agent + Test Controller download
◦ http://www.microsoft.com/en-us/download/details.aspx?id=38186
Mijn blog (hier zal deze presentatie te downloaden zijn):
◦ http://veegens.wordpress.com
Links