Test Assertions What are they and why do we need them? Mark Skall 1.

Slides:



Advertisements
Similar presentations
Learning the Basics – Lesson 1
Advertisements

User Interface Structure Design
Introduction to CSS.
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
Chapter 8 Creating Style Sheets.
TGDC Meeting, December 2011 Usability and Accessibility (U&A) Research Update Sharon J. Laskowski, Ph.D.
IEEE P1622 Meeting, Oct 2011 IEEE P1622 Meeting October 24-25, 2011 Overview of IEEE P1622 Draft Standard for Electronic Distribution of Blank Ballots.
Microsoft Expression Web-Illustrated Unit C: Adding Text and Links.
Writing Quality Specifications July 9, 2004 Mark Skall Acting Director, Information Technology Laboratory National Institute of Standards and Technology.
TGDC Meeting, July 2011 Review of VVSG 1.1 Nelson Hastings, Ph.D. Technical Project Leader for Voting Standards, ITL
Introduction to Software Engineering Dr. Basem Alkazemi
Requirements Engineering
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
TGDC Meeting, Jan 2011 VVSG 1.1 Test Suite Status Mary Brady National Institute of Standards and Technology
12/9-10/2009 TGDC Meeting TGDC Recommendations Research as requested by the EAC John P. Wack National Institute of Standards and Technology
Section 7.1 Identify presentation design principles Use a custom template Add pages to a navigation structure Section 7.2 Identify color scheme guidelines.
Improving U.S. Voting Systems The Voters’ Perspective: Next generation guidelines for usability and accessibility Sharon Laskowski NIST Whitney Quesenbery.
Expression Web 2 Concepts and Techniques Expression Web Design Feature Web Design Basics.
TGDC Meeting, December 2011 Michael Kass National Institute of Standards and Technology Update on SAMATE Automated Source Code Conformance.
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
Chapter Objectives Discuss the relationship between page length, content placement, and usability Complete Step 4: Specify the website’s navigation system.
TGDC Meeting, July 2011 Usability and Accessibility Test Methods: Preliminary Findings on Validation Sharon Laskowski, Ph.D. Manager, NIST Visualization.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Web Design, 3 rd Edition 4 Planning a Successful Web Site: Part 2.
Web Design, 4 th Edition 4 Planning a Successful Web Site: Part 2.
TGDC Meeting, July 2011 UOCAVA Roadmap Update Nelson Hastings, Ph.D. Technical Project Leader for Voting Standards, ITL
Questions/Comments: Ed Smith VVSG and Requirements Management Ed Smith January 13, 2011.
Web Technologies Website Development Trade & Industrial Education
Topics Covered: Software requirement specification(SRS) Software requirement specification(SRS) Authors of SRS Authors of SRS Need of SRS Need of SRS.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
Standards in Elections: NIST and the Help America Vote Act Lynne S. Rosenthal National Institute of Standards and Technology
NIST HAVA-Related Work: Status and Plans June 16, 2005 National Institute of Standards and Technology
Web Accessiblity Carol Gordon SIU Medical Library.
F-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
1. Short History Of HTML HTML was invented in 1990 by a scientist called Tim Berners-Lee. The purpose was to make it easier for scientists at different.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Standards in Elections: NIST and the Help America Vote Act Lynne S. Rosenthal National Institute of Standards and Technology
Usability and Accessibility Working Group Report Sharon Laskowski, PhD National Institute of Standards and Technology TGDC Meeting,
Briefing for NIST Acting Director James Turner regarding visit from EAC Commissioners March 26, 2008 For internal use only 1.
Group 3: Art Gallery Monica Almendarez Content/Project Manager Willliam Egle Technology Manager Christina Pié Usability/ADA Compliance Manager Mirjana.
VVSG: Usability, Accessibility, Privacy 1 VVSG, Part 1, Chapter 3 Usability, Accessibility, and Privacy December 6, 2007 Dr. Sharon Laskowski
12/9-10/2009 TGDC Meeting Usability and Accessibility Progress and Challenges Sharon Laskowski, PhD National Institute of Standards and Technology
Making every vote count. United States Election Assistance Commission EAC Voting System Certification TGDC Meeting December 9-10, 2009.
Format Font using (Microsoft Word 2003) ( Lesson (3)) Designed by: Muna Alshuili(69072) Introduced to: The student of grade (5) Start Lesson.
TGDC Meeting, July 2011 Voluntary Voting System Guidelines Roadmap Nelson Hastings, Ph.D. Technical Project Leader for Voting Standards, ITL
MIMOS Berhad. All Rights Reserved. Nazarudin Wijee Mohd Sidek Salleh Grid Computing Lab MIMOS Berhad P-GRADE Portal Heuristic Evaluation.
TGDC Meeting, Jan 2011 Help America Vote Act (HAVA) Roadmap Nelson Hastings National Institute of Standards and Technology
TGDC Meeting, July 2010 Report on Other Resolutions from Dec 2009 TGDC Meeting John Wack National Institute of Standards and Technology
System Requirements Specification
Next VVSG Training Standards 101 October 15-17, 2007 Mark Skall National Institute of Standards and Technology
1 DECEMBER 9-10, 2009 Gaithersburg, Maryland TECHNICAL GUIDELINES DEVELOPMENT COMMITTEE Commissioner Donetta Davidson.
Microsoft Expression Web 3 Expression Web Design Feature Web Design Basics.
EAC-requested VVSG Research Overview and Status June 2008 Mark Skall Chief, Software Diagnostics and Conformance Testing Division National Institute of.
Microsoft Expression Web 3 – Illustrated Unit G: Designing Site Navigation.
Creating Accessibility, Usability and Privacy Requirements for the Voluntary Voting System Guidelines (VVSG) Whitney Quesenbery TGDC Member Chair, Subcommittee.
Briefing for the EAC Public Meeting Boston, Massachusetts April 26, 2005 Dr. Hratch Semerjian, Acting Director National Institute of Standards and Technology.
Election Assistance Commission 1 TGDC Meeting High Level VVSG Requirements: What do they look like? February, 09, United States.
Update: Revising the VVSG Structure Sharon Laskowski vote.nist.gov April 14, 2016 EAC Standards Board Meeting 1.
TGDC Meeting, Jan 2011 VVSG 2.0 and Beyond: Usability and Accessibility Issues, Gaps, and Performance Tests Sharon Laskowski, PhD National Institute of.
TGDC Meeting, July 2011 VVSG 1.1 Test Suite Status Mary Brady Manager, NIST Information Systems Group, Software and Systems Division, ITL
The VVSG 2005 Revision Overview EAC Standards Board Meeting February 26-27, 2009 John P. Wack NIST Voting Program National Institute.
Pre-Production Meet with the client to create a project plan:
Section 7.1 Section 7.2 Identify presentation design principles
Chapter 2 Developing a Web Page.
Learning the Basics – Lesson 1
Define phase Interview the client to understand goals, audience, content, design, and delivery requirements. Organize and outline interview information.
Creating & Managing for Teaching Purposes
CIS 376 Bruce R. Maxim UM-Dearborn
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Accessible Design Top 10 List
Presentation transcript:

Test Assertions What are they and why do we need them? Mark Skall 1

My Background Past Division Chief of Software Division at NIST Led Voting Project Retired from NIST in 2009 Remained active in Voting –EAC –NIST 2

Testing Requires Unambiguous Requirements Need mutual understanding of VVSG requirement among voting system manufacturers, VSTLs, NIST and the EAC The “devil is in the details” to unambiguously specify requirements Test assertions can provide that mutual understanding among the EAC, NIST, manufacturers and VSTLs 3

What are Test Assertions? Conditions that must be met to determine conformance to specific requirements in the VVSG Each requirement is broken down into specific, unambiguous, testable conditions One or more test assertions for each requirement 4

Why are they important? For current VVSG Currently each VSTL develops their own set of test cases to test VVSG requirements Since test cases are proprietary there is no way for public to scrutinize them for completeness or correctness Different test cases lead to different ways to test – no consistency across VSTLS Can result in different pass/fail results VVSG requirements can be high-level, vague, open to interpetation and ambiguous 5

English is not Precise 6

The girl touched the cat with a feather –(Girl + feather) touched cat –Girl touched (cat + feather) English is not Precise 7

Interpretation Issues Permit the voter to cast a ballot expeditiously Function properly Does not introduce any bias Provide clear instructions Consistent relationship Maximize correct perception Minimize cognitive difficulties Presented in an equivalent manner 8

Two possibilities for each requirement Precise and clear –TAs break it down into testable components High-Level, vague or ambiguous –Achieve consensus on meaning and interpret through test assertions Can occasionally be subjective Same subjective interpretation shared by all VSTLs 9

Example of a Test Assertion VVSG Requirement – Each module shall be mnemonically named –Test Assertion: IF a class, interface or callable unit is declared, THEN its intrinsic purpose can be determined by its name. 10

Examples VVSG 1.0 Requirement 3.1.6a: Voting machines with electronic image displays shall not require page scrolling by the voter. Assertions: –TA316a-1: IF a voting machine contains an electronic display THEN there SHALL be no off- screen contents that can be made visible solely through the use of scroll bars. –TA316a-2: There SHALL exist at least one mechanism, other than scrolling, for navigation within and between contests that presents ALL ballot-content to the voter explicitly. –TA316a-3: Next or previous “page” buttons MAY be used as such a non-scrolling navigation mechanism. 11

Examples VVSG 1.0 Requirement 3.1.4a: In both visual and aural formats, contest choices shall be presented in an equivalent manner. Assertions: –TA314a-1: FOR all contest choices on a visual ballot, there SHALL be no discernible differences in visual presentation. –Font properties (bold, italic, underline) –Text properties (word and letter spacing, etc.) –Visual presentation of color –Many more... 12

Assertion Project An effort to provide a reference set of assertions that are complete, unambiguous, and: –Provide a uniform testing reference for VSTLs and voting system manufacturers, across all testing domains (security, usability, software requirements, performance, etc.) –Provide a “bridge” between the VVSG requirements and test suites (manufacturer’s, VSTL’s or NIST’s) –Provide testable expressions (assertions) that more succinctly and practically describe adherence to normative VVSG requirement statements. 13

Team Effort This is a team effort among NIST, EAC and VSTLs –Everyone has to agree before test assertion is finalized –Made available to manufacturers for their comments –Decisions are somewhat subjective but better to interpret these one time by a consensus than having VSTLs interpret them unilaterally and inconsistently 14

Process Team consists of myself plus NIST and EAC –Domain Experts I develop draft assertions for requirements Team meets and discusses, modifies, etc. –Team achieves consensus Distribute to VSTLs for feedback –Review VSTL feedback and modify Distribute to manufacturers –Review manufacturer feedback and modify Post final assertions on NIST web site 15

Status Test Assertions completed for VVSG 1.0 –Usability and Accessibility(Section 3) –Security (Section 7) –Software (Section 5) Done previously Different process Different syntax Test Assertions for VVSG 1.1 –QA/CM (Section 8) –Security (Section 7) –Usability and Accessibility (Section 3) 16

Future Plans Test Assertions for rest of VVSG 1.1 Goal is complete set of assertions for entire standard Compete set distributed (and mandated) for use by VSTLs 17

Benefits Ensures that each requirement is tested correctly and comprehensively Helps ensure that testing is uniform and consistent among all VSTLs –Ensuring same pass/fail result regardless of which Laboratory is used Clarifies high-level or vague terminology Manufacturers can determine what is expected for each requirement 18

Implications for New VVSG Lessons learned in developing and specifying requirements –Make sure all terms/words are clear and understood by all –Think of possible test assertions Lowest level of the new VVSG Testable Level Formal specs? 19