Here are the key steps to create a unit test using the test-driven development (TDD) approach in Visual Studio 2010:
1. Create a new test project in your solution.
2. Write a test method that describes the behavior you want to implement, such as "ShouldReturnTotalScoreForAGameWithAllZeros".
3. Run the test and watch it fail since the production code hasn't been implemented yet.
4. Create the class/method you want to test with just enough code for the test to pass.
5. Run the test and watch it pass.
6. Refactor the production code as needed, and write more tests to increase coverage in a test-
BenchmarkQA Performance Testing Quality Forum March 2012BenchmarkQA
Understanding the fundamentals of performance and load testing will help you budget, plan, and manage performance testing to effectively find and resolve performance issues before they become a problem for your users and your company.
Jeff Roth delivered this presentation at BenchmarkQA’s Software Quality Forum on March 22, 2012. Jeff provided a non-technical explanation of the fundamentals of successful performance testing.
Topics include:
• Performance Testing 101
• Components of Performance Testing
• Performance Testing Lifecycle
BenchmarkQA Performance Testing Quality Forum March 2012BenchmarkQA
Understanding the fundamentals of performance and load testing will help you budget, plan, and manage performance testing to effectively find and resolve performance issues before they become a problem for your users and your company.
Jeff Roth delivered this presentation at BenchmarkQA’s Software Quality Forum on March 22, 2012. Jeff provided a non-technical explanation of the fundamentals of successful performance testing.
Topics include:
• Performance Testing 101
• Components of Performance Testing
• Performance Testing Lifecycle
The Newest of the New with Visual Studio and TFS 2012Imaginet
By itself, Visual Studio 2012 included many compelling new features not available in prior releases. But Microsoft hasn’t stopped. Since the production release in August 2012, Microsoft has continued to release more new capabilities. In this session we’ll walk through some of the latest and greatest enhancements that you can use in your Visual Studio and TFS 2012 environment.
Agile Open Source Performance Testing Workshop for Business ManagersClever Moe
Use Selenium, soapUI, Sahi, TestMaker Performance Testing In Your Organization. These are slides from a free Webinar titled "The Agile Open Source Way To Load Test, Scalability Test, and Stress Test In Your Organization". Your organization may have adopted Agile Software Development Methodology and forgot about load and performance testing! Learn the Open Source Testing way to load and performance test your Web applications, Rich Internet Applications (RIA, using Ajax, Flex, Flash, Oracle Forms, Applets,) and SOAP and REST Web services. This free Webinar delivers a testing methodology, tools, and best/worst practices.
Twice vertelt u in een korte intensieve sessie meer over ALM en Team Foundation Server. In dit seminar is gedemonstreerd wat de nieuwe mogelijkheden zijn van Visual Studio 2012 en Visual Studio 2012 Team Foundation Server. Team Foundation Server ondersteunt de gehele Lifecycle van het applicatie ontwikkeltraject op basis van het Agile gedachtegoed. Er is onder andere ingegaan op de verbeterde samenwerkingsmogelijkheden, het beheer van de source code en het applicatie testproces. Onderwerpen die behandeld zullen worden tijdens dit seminar:
• Agile Dashboards
• Drag/Drop Storyboards en Taskboards
• Ondersteuning voor meerdere teams
• Betere offline Version Control d.m.v. local workspaces
• Exploratory Testing
• Feedback Manager
• Geïntegreerde Code Review
• Vernieuwde IDE
• Integratie met verschillende Unit Test Frameworks
• Suspend/Resume work binnen Visual Studio
Objectives:
- Getting an understanding of what SharePoint is.
- Getting familiar with the features SharePoint offers as a development Platform.
-Comprehend the different Development options.
- SharePoint Workflow Development.
- SharePoint Application Lifecycle Management.
HTAF 2.0 - A hybrid test automation framework.Mindtree Ltd.
HTAF is a Mindtree proprietary customizable framework developed over HP-QTP. This framework significantly reduces test automation life cycle by accelerating script development, execution and management.
The Newest of the New with Visual Studio and TFS 2012Imaginet
By itself, Visual Studio 2012 included many compelling new features not available in prior releases. But Microsoft hasn’t stopped. Since the production release in August 2012, Microsoft has continued to release more new capabilities. In this session we’ll walk through some of the latest and greatest enhancements that you can use in your Visual Studio and TFS 2012 environment.
Agile Open Source Performance Testing Workshop for Business ManagersClever Moe
Use Selenium, soapUI, Sahi, TestMaker Performance Testing In Your Organization. These are slides from a free Webinar titled "The Agile Open Source Way To Load Test, Scalability Test, and Stress Test In Your Organization". Your organization may have adopted Agile Software Development Methodology and forgot about load and performance testing! Learn the Open Source Testing way to load and performance test your Web applications, Rich Internet Applications (RIA, using Ajax, Flex, Flash, Oracle Forms, Applets,) and SOAP and REST Web services. This free Webinar delivers a testing methodology, tools, and best/worst practices.
Twice vertelt u in een korte intensieve sessie meer over ALM en Team Foundation Server. In dit seminar is gedemonstreerd wat de nieuwe mogelijkheden zijn van Visual Studio 2012 en Visual Studio 2012 Team Foundation Server. Team Foundation Server ondersteunt de gehele Lifecycle van het applicatie ontwikkeltraject op basis van het Agile gedachtegoed. Er is onder andere ingegaan op de verbeterde samenwerkingsmogelijkheden, het beheer van de source code en het applicatie testproces. Onderwerpen die behandeld zullen worden tijdens dit seminar:
• Agile Dashboards
• Drag/Drop Storyboards en Taskboards
• Ondersteuning voor meerdere teams
• Betere offline Version Control d.m.v. local workspaces
• Exploratory Testing
• Feedback Manager
• Geïntegreerde Code Review
• Vernieuwde IDE
• Integratie met verschillende Unit Test Frameworks
• Suspend/Resume work binnen Visual Studio
Objectives:
- Getting an understanding of what SharePoint is.
- Getting familiar with the features SharePoint offers as a development Platform.
-Comprehend the different Development options.
- SharePoint Workflow Development.
- SharePoint Application Lifecycle Management.
HTAF 2.0 - A hybrid test automation framework.Mindtree Ltd.
HTAF is a Mindtree proprietary customizable framework developed over HP-QTP. This framework significantly reduces test automation life cycle by accelerating script development, execution and management.
Minneapolis D-Star Presentation NY9D www.14567.org
Use of advanced Amateur Radio technology at the Medtronic Twin Cities Marathon
Emergency medical records volunteer emergency response public health
Minnesota Amateur Radio Marathon Support Erik Westgard
Amateur Radio and Icom D-Star supporting the Medtronic Twin Cities Marathon. How volunteer ham radio operators provide medical communications support using modern digital technology. This talk was presented at ARRL TAPR DCC 2013 in Seattle on Sept 20 2013 Erik Westgard NY9D www.14567.org
Presentation on Mobile DevOps. Presented at MoDevTablet conference on Sept. 14th. Focuses on:
- What is DevOps?
- What are the challenges of DevOps for Mobile?
- Best practices for Mobile DevOps
Blog post: https://sdarchitect.wordpress.com/2012/09/15/slides-for-my-presentation-on-mobile-devops/
Ashwini Malthankar
Organization: ThoughtWorks
Topic: Effective use of CI by QA
Presented in vodQA - THE TESTING SPIRIT! on Oct 7, 2010 in ThoughtWorks, Pune
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
2012 student track - vs2010
1. Visual Studio
2010
TimM@infosupport.com
13 februari 2012
2. Info Support Groep
Info Support Global
Info Support BV Info Support NV
Services
(NL, Veenendaal) (BE, Mechelen)
(BE, Echteld/Gent)
Create solutions
that innovate the way
organizations do their business
3. Info Support
Opgericht in 1986
Focus op IT vakmanschap
Alle jaren financieel gezond
en autonoom gegroeid
Actief in Nederland en België
Microsoft Gold Certified Partner voor
Custom Development Solutions Learning Solutions
SOA and Business Process Hosting Solutions
Business Intelligence Mobility Solutions
Information Worker Solutions Advanced Infrastructure Solutions
Business Solutions Competency (CRM)
Business Partner IBM en NL-JUG
Endeavour overview 3
4. Contents
Features of VS 2010
Team Foundation Server 2010
Unit Testing in VS 2010
Debugging in VS 2010
VS 11 (what’s next?)
Extending VS 2010
5. Intro
Microsoft Visual Studio is a powerful IDE that ensures
quality code throughout the entire application lifecycle,
from design to deployment. Whether you’re developing
applications for SharePoint, the web, Windows,
Windows Phone, and beyond, Visual Studio is your
ultimate all-in-one solution.
7. Team Suite
Visual Studio Visual Studio Visual Studio
Team Test
Team Team Developer Team Test
Essentials
Architect
Static Code Analyzer Load Testing Test Planning
Process and Architecture Guidance
UML Models
Code Metrics Lab management
Use Case Web Testing
Sequence Dynamic Code Analyzer
Activity Test Case Management
Schema Compare
Class
Data Compare Functional Testing
Component
SP unit testing Win Forms
Architecture Explorer Historical debugging WPF
Web (IE/FF)
Layer Diagram Test Impact analysis
DGML models Collectors for: Code Coverage, Test impact, System Info, video, etc.
Visual Studio Professional Edition
Team Foundation Client (includes CAL)
Visual Studio
Version Control Reporting Test Management Web Access
Team Foundation
Work Item Tracking Project Site Project Management Team Build
10. Most used Features of VS 2010
Solution <> Projects Code analysis
Build <> Debug – Quality
Multi languages – Metrics
NuGet Packager Most used Windows
– Server Explorer
Application Types
– Class view
– Web (project/website)
– Object Browser
– Win (WPF, Forms)
– Tasks list
– Cloud
– Bookmark window
– Database
– Command window
– Modelling
Architecture views
12. Intro
Developer Database
Designer
Professional
Architect
Tester
Business Project
Analyst Manager
13. Intro
Team Foundation Server
Process Focused
Version Control
Process
Templates Work Item Tracking
Integrated
SharePoint Check-in Build Automation
Manage work
Customizable Check-in
Bugs, Tasks, Reporting
Policies Continuous
Requirements, Integration
Shelving Stories, Risks, Decision
etc. Scheduled Support
Very Extensible Ad Hoc Track Project
Progress
14. Intro
Client Interface Version Control Build
Proxy Environment
Visual
MS Excel Command Line
Studio Version
Control Build
Proxy Process
Service
MS Project Team Explorer TFS SDK
Application Tier
SQL Reporting Services Windows SharePoint Services Web Services
SQL Server
Version Data
Work Items Team Build
Control Warehouse
Data Tier
15. Intro
Key concepts
– Process templates
– Workspaces
– Changesets
– Work Items
16. Demo
Create TFS project
Working with Work Items
Source control
– Checkin/Checkout
– History tracking/Diffing
– Merging changes
– Locking
– Shelving
– Checkin Policies
– Labeling
– Branching
18. Unit Testing in VS 2010
What is unit testing
How to create a unit test in VS 2010
Demo: Test first approach
Other features inside VS 2010 to help you unit
testing
19. What is unit testing?
A unit test is an automated piece of code that
invokes the method or class being tested and then
checks some assumptions about the logical
behavior of that method or class. A unit test is
almost always written using a unit-testing
framework. It can be written easily and runs
quickly. It’s fully automated, trustworthy,
readable, and maintainable.
20. What is unit testing?
Compile
Static Code Analysis
Integration Test
System Test
Acceptance Test
Performance Test
Robustness Test
Some other Test
Unit Test (Does not replace other tests, but makes
them more effective)
22. Benefits of TDD
Forces you to think about how you want to use
your classes.
Makes it impossible to write code you can not
test.
Automatically improves the quality of your
design.
– Test Driven Design
23. Writing a Unit Test With MSTest
Visual Studio has a specialized project type for
unit tests named “Test Project”.
We use the [TestClass] and [TestMethod]
attributes to make our tests known to the MSTest
framework.
Many Assertion methods are part of the
framework for your convenience.
24. Demo: working test first
The game consists of 10 frames as shown above. In each frame the
player has two opportunities to knock down 10 pins. The score for the
frame is the total number of pins knocked down, plus bonuses for strikes
and spares.
A spare is when the player knocks down all 10 pins in two tries. The
bonus for that frame is the number of pins knocked down by the next roll.
So in frame 3 above, the score is 10 (the total number knocked down)
plus a bonus of 5 (the number of pins knocked down on the next roll.)
A strike is when the player knocks down all 10 pins on his first try. The
bonus for that frame is the value of the next two balls rolled.
In the tenth frame a player who rolls a spare or strike is allowed to roll
the extra balls to complete the frame. However no more than three balls
can be rolled in tenth frame.
25. A quick design session
Game
+ roll(pins : int) Clearly we need the Game class.
+ score() : int
26. A quick design session
Game 10 Frame
+ roll(pins : int)
+ score() : int
A game has 10 frames.
27. A quick design session
Game 10 Frame 1 ..2 Roll
+ roll(pins : int) - pins : int
+ score() : int
A frame has 1 or two rolls.
28. A quick design session
Game 10 Frame 1 ..2 Roll
+ roll(pins : int) - pins : int
+ score() : int
1
Tenth Frame
The tenth frame has two or three rolls.
It is different from all the other frames.
29. A quick design session
Game 10 Frame 1 ..2 Roll
+ roll(pins : int) + score : int - pins : int
+ score() : int
1
The score function must
include all the frames,
and calculate all their scores. Tenth Frame
30. A quick design session
The score for a spare or a strike
depends on the frame’s successor
Next frame
Game 10 Frame 1 ..2 Roll
+ roll(pins : int) + score : int - pins : int
+ score() : int
1
Tenth Frame
31. Code Coverage
Every unit of code that contains logic is important
and should be tested
– Simple properties do not contain logic
– branching statements (if, switch case) and loop
statements (while, for, foreach) are considered logic.
Code coverage can help determine if every
important unit of code is tested.
A computer program can measure what source
code is executed during test execution.
33. Test Frameworks
Test Frameworks make it easier to write fully
automated, trustworthy, readable and
maintainable tests.
– JUnit (java)
– NUnit (.Net port of JUnit)
– MBUnit
– MSTest (integrated in Visual Studio)
34. Use Assertions in your Tests
AreEqual(expected, actual, message)
IsTrue(expression, message)
IsFalse(expression, message)
IsNull(variable, message)
IsNotNull(variable, message)
Lookup the Assert class on MSDN for more…
35. Test Impact Analysis
Test Impact Analysis shows you which tests need
to be re-run after a code change has been made.
Need to establish a baseline by running all tests
once Impact Analysis is enabled.
Any code changes after that will result in
recommendations on the “Test Impact View”
window.
– Only meaningful code changes will result in
recommendations.
– Changes in comments or changes that are optimized
away by the compiler (foo + 10 => foo + 5 + 5) are
ignored.
36. Debugging in VS 2010
Basics of debugging
Breakpoint options
– Conditions
– Tracing options
Change the debugging visualization
– Attributes
– Type Proxies
Intellitrace
37. Extending VS 2010
Project & Item templates
Extending the editor
Custom toolbar & menu commands
Extend the editor
38. Visual Studio 11 (what’s next)
C#: Async/Await
New features
– Search (assemblies, solution explorer, quick launch, error
window, ctrl-i window)
– Project roundtripping between VS2010 (SP1) & 11
Editor's Notes
CW:Edit.Replace, Edit.Find Controller /regex,Debug.EvaluateStatement 10 == 11, ?Nuget packager, install-package elmahDatabase projectSchema viewCompare schemaCompare dataArchitecturegenerate by methodSaturnus BSVerlofMngt dependenciesArchitecture windows explorer create dgmlDependency matrix viewHtml, JS, CSS
Debugging optionshttp://referencesource.microsoft.com/symbolsDisable just my code, enable ,net framework stepping, enable source serverRightclick on callstack
Async/Await class Program { static void Main(string[] args) { Console.WriteLine("Starting..."); var smsohanDotCom = GetSmSohanDotCom();Console.WriteLine("Passed the get line, status {0}", smsohanDotCom.IsCompleted); Console.WriteLine(smsohanDotCom.Result.Length);Console.WriteLine("Printed the length, status {0}", smsohanDotCom.IsCompleted); Console.ReadLine(); } private async static Task<String> GetSmSohanDotCom() { Console.WriteLine("Before Waiting...");var data = await new WebClient().DownloadStringTaskAsync(new Uri("http://smsohan.com")); Console.WriteLine("Waiting..."); return data; } }