Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster...

21
Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft Technical Evangelist

Transcript of Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster...

Page 1: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep

M6: DeploymentJeremy FosterMicrosoft Developer Evangelist

Michael PalermoMicrosoft Technical Evangelist

Page 2: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Jump Start Target Agenda

Advanced Windows 8 Apps Using JavaScript

Module 1: Background Tasks and Components

Module 2: Hardware and Sensors

Module 3: Printing and PlayTo

MEAL BREAK

Module 4: Animations, Custom Controls, and Globalization

Module 5: Data, Files, and Encryption

Module 6: Deployment

Page 3: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Module Agenda

Design and implement trial functionality in the app

Design for error handling

Design and implement a test strategy

Design a diagnostics and monitoring strategy

˃

Page 4: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Why offer a trial?

It is all about probability of install

Cost is a barrier to entry when value isn’t proven

Page 5: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

MSDN SAMPLE: TRIAL

demo

Page 6: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Module Agenda

Design and implement trial functionality in the app

Design for error handling

Design and implement a test strategy

Design a diagnostics and monitoring strategy

˃

Page 8: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

CODESHOW: EXCEPTION HANDLING

demo

Page 9: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Module Agenda

Design and implement trial functionality in the app

Design for error handling

Design and implement a test strategy

Design a diagnostics and monitoring strategy

˃

Page 10: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.
Page 11: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Your app will be tested…

…make sure it’s by you and not your users.

Page 12: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Write a test plan

A test plan is a simply a document that states (in great detail) how an app will be tested.

Test plans typically contain…

• Description of product scenarios

• Description of test cases to support those scenarios

• Description of software used for testing

Page 13: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Introducing Microsoft Test Manager

Manage all of your tests: manual, unit, integration, UI

Integrate with TFS

Record all steps leading to a bug

Page 14: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.
Page 15: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.
Page 16: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Unit testing in JavaScript apps

Not integrated with VS test tools

Flexibility in your test setup strategy

I recommend…

Windows 8 project

Mocha

Page 17: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

HILO JS

demo

Page 18: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Module Agenda

Design and implement trial functionality in the app

Design for error handling

Design and implement a test strategy

Design a diagnostics and monitoring strategy˃

Page 19: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

VISUAL STUDIO ANALYZE

demo

Page 20: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

Summary

Design and implement trial functionality in the app

Design for error handling

Design and implement a test strategy

Design a diagnostics and monitoring strategy

Page 21: Advanced Windows 8 Apps Using JavaScript Jump Start 70-482 Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.