
Level 4 Recap 3
Presentation
•
Computers
•
University
•
Practice Problem
•
Medium
Samuel Markham
Used 2+ times
FREE Resource
31 Slides • 14 Questions
1
Assignment Recap and Prep
Test Plans, Test Driven Development, and IDE features
2
Purpose of a Test Plan
Define objectives and scope of testing
Set out resources and requirements
Scheduling
Set out success criteria
3
Test Plan Structure
Test objectives
Test scope
Test cases
Outcomes and notes
4
Test plans should be
Clear
Repeatable
Comprehensive
5
Multiple Choice
Which of these elements would not be on a test plan?
Date and time
Dependencies
6
Reorder
What is the appropriate layout of a test plan?
Objectives
Scope
Requirements
Test Cases
Outcome
7
Test objectives
Highlights main aims of test
Informs test case design
Indicates the timeline of the test
Should guide test-team
8
Test Scope
Defines what is in scope - what features are being tested?
Defines what (if anything) is not in scope
Define integration requirements (if needed)
9
Test Cases
Individual
Many
Simple
Align to objectives and scope
10
Test Case Structure
Test ID | Date/time | Description | Input Data | Expected Output | Actual Output | Notes |
|---|---|---|---|---|---|---|
1 | 12/12/24 | Ensure valid username is accepted when signing up | Username_123 | Sign up successful, next screen loads | As expected | |
2 | 12/12/24 | Ensure invalid username (special char) is not accepted | Username_123$ | User error message preventing page load, ask user to try again | Username accepted and next page loaded | Bug fix - invalid username allowed |
11
Outcomes
Define test outcome pass/fail
Note any issues
Suggest required action
Sign off section
12
Scenario Questions
Login System
A small business wants to implement a login system for its website. The system requires users to enter a username and password to access their accounts. Below are the details of the login functionality:
If the username and password are correct, the user is logged in.
If the username is incorrect, the system shows an error message: "Invalid username."
If the password is incorrect, the system shows an error message: "Invalid password."
If the username or password fields are left blank, the system shows: "Fields cannot be empty."
13
Reorder
What is the appropriate order for executing a test plan for the scenario?
A small business wants to implement a login system for its website. The system requires users to enter a username and password to access their accounts. Below are the details of the login functionality:
If the username and password are correct, the user is logged in.
If the username is incorrect, the system shows an error message: "Invalid username."
If the password is incorrect, the system shows an error message: "Invalid password."
If the username or password fields are left blank, the system shows: "Fields cannot be empty."
Define test case inputs and expected outputs
Run test cases
Compare actual output to expected
Document results
14
Multiple Choice
What is the primary objective of the test plan for the login system, based on the requirements?
A small business wants to implement a login system for its website. The system requires users to enter a username and password to access their accounts. Below are the details of the login functionality:
If the username and password are correct, the user is logged in.
If the username is incorrect, the system shows an error message: "Invalid username."
If the password is incorrect, the system shows an error message: "Invalid password."
If the username or password fields are left blank, the system shows: "Fields cannot be empty."
Verify the system accepts all input formats
Ensure that users can register for the system
Validate login system correctly identifies valid/invalid input
Test design of the login page
15
Multiple Choice
What is the primary purpose of a test plan?
To identify all possible bugs in a system.
To document the testing scope, approach, resources, and schedule.
To provide code-level documentation for developers.
To automate the testing process.
16
Match
Match the test plan component with its description.
Test Objectives
Test Scope
Test resources
Exit criteria
What the testing is expected to achieve
What will and will not be tested
Tools and software required for testing
Requirements for testing to be complete
What the testing is expected to achieve
What will and will not be tested
Tools and software required for testing
Requirements for testing to be complete
17
Multiple Choice
Your team is testing a new e-commerce website. The team identifies that certain features will not be included in this test phase. Where should this information be documented in the test plan?
Test Objectives
Test Scope
Exit Criteria
Test Environment
18
Poll
What do you think is the most challenging aspect of creating a test plan?
Defining clear and measurable test objectives.
Determining the scope of testing and deciding what to include or exclude.
Identifying all possible test cases, including edge cases.
Writing detailed and understandable documentation for others to follow.
Something else
19
Multiple Choice
Which software development approach make heavy use of test plans?
Scrum
Result driven development
Test driven development
Agile
20
Test Driven Development
21
TDD Approach
Design tests first - running should fail
Write code to pass defined tests
Run tests
Refactor
22
TDD
23
TDD Benefits
Early error detection
Improved code quality
Easier maintenance/refactoring
Improves collaboration
Improved focus
Facilitates automation
24
TDD Drawbacks
More time up front
Learning curve
Over-testing trap
Reliant on good tests
25
Multiple Choice
What is the main principle of Test-Driven Development (TDD)?
Writing code and then creating tests for it.
Writing tests before writing the actual code.
Writing tests and code simultaneously.
Only testing after the software is fully implemented.
26
Multiple Choice
TDD reduces debugging time because errors are identified early in the development process.
True
False
27
Drag and Drop
28
Match
Match the TDD cycle step to its description.
Red
Green
Refactor
Write failing tests
Write just enough code to make the test
Improve the code without changing its be
Write failing tests
Write just enough code to make the test
Improve the code without changing its be
29
Open Ended
In your own words, explain how TDD can lead to better code design.
30
IDE Key Features
31
Debugger
Highly useful feature
Allows control over code execution
Lets you pause code
View variable values
Create watch expressions
Track function calls
32
Version Control Integration
Usually have built in support for version control (e.g. Git)
Allows easy commits, branching, branch switching etc
Often gives visual of branches
Allows seamless linking to remote repos
33
Editor Features
Syntax highlighting
Error detection
Autocomplete
34
Assignment Tips
35
Writing Style
Write in formal style
Third person
Structured in sections
NOT by criteria
36
Layout
Title
Subtitles
Name in header
Page numbers
Font - sensible style (Times New Roman or Arial is my suggestion)
Align text - either justify or left
Images or tables - ensure captioned
37
References
In text citation - (Author Surname, Year)
(Smith, 2020)
Reference list
Includes ALL in text citations
Alphabetical by author surname
Suitable references
Text books
Journals
Websites with clear author, time and academic suitability
38
Criteria Tips and Required Evidence
39
P4 - Write a program that implements and algorithm using an IDE
You need to design algorithms yourself - especially SORT
Evidence will be
Code
Report (part)
Discuss features of IDE used
Screen shots can help
40
P5 - Explain the debugging process and the debugging facilities available in the IDE
Refer to your own development - how did you debug?
Explain common ways to approach debugging
Explain how an IDE can be used for debugging
41
P6 - Explain the coding standard you have used in your code
Identify coding standards you have implemented
Explain what that means - why have you used it?
Make it clear what the requirement of that standard are
42
M3 - Enhance the algorithm writtem, using the features of the IDE to manage the development process
You will likely need to evolve your design - evidence this in your work
Identify key features of the IDE that benefited this
Language specific features
Source control?
Debugger?
Etc
43
M4 - Examine how the debugging process can be used to help develop more secure, robust applications
Analyse/breakdown the importance of debugging for this - explain how
Secure does not mean anti-hacking
No unexpected behavior
Meets expectations and standards
Robust - error handling, no crashes etc
44
D3 - Evaluate the use of an IDE for development of applications contrasted with not using an IDE
Evaluate - use an analysis to make a judgement
Breakdown the reasons, explain each one
Discuss the benefits
Discuss the impact
Explain every point
45
D4 - Evaluate the role and purpose of a coding standard and why it is necessary in a team as well as for the individual
Evaluate - use an analysis to make a judgement
Breakdown the reasons, explain each one
Ensure you discuss for TEAMS and INDIVIDUALS
Bring all points back to WHY - benefit, impact etc
Assignment Recap and Prep
Test Plans, Test Driven Development, and IDE features
Show answer
Auto Play
Slide 1 / 45
SLIDE
Similar Resources on Wayground
37 questions
Internet & WWW & Software & Computation Thinking Case Review
Presentation
•
University
38 questions
MS ACCESS
Presentation
•
University
38 questions
Rhetorical Appeals and Strategies
Presentation
•
9th Grade
41 questions
ITCC102-W11(SY24-25_101I)
Presentation
•
University
40 questions
WEEK 12 PRE BEGINNER 1
Presentation
•
University
39 questions
Gerbang Logika
Presentation
•
University
38 questions
JavaScript Introduction
Presentation
•
KG - University
42 questions
Computer Review November
Presentation
•
KG - University
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
Discover more resources for Computers
15 questions
LGBTQ Trivia
Quiz
•
University
36 questions
8th Grade US History STAAR Review
Quiz
•
KG - University
25 questions
5th Grade Science STAAR Review
Quiz
•
KG - University
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
20 questions
5_Review_TEACHER
Quiz
•
University
10 questions
Applications of Quadratic Functions
Quiz
•
10th Grade - University
10 questions
Add & Subtract Mixed Numbers with Like Denominators
Quiz
•
KG - University
20 questions
Block Buster Movies
Quiz
•
10th Grade - Professi...