
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
M1U4 - Managing an OS (SY25-26 / C103-101I)
Presentation
•
University
40 questions
Introduction to Programming
Presentation
•
12th Grade
41 questions
L04 Equilibrium and Elasticity
Presentation
•
University
40 questions
Chapter 6: SDLC
Presentation
•
University
40 questions
CHAPTER 4-BASIC HARDWARE III-OUTPUT DEVICES
Presentation
•
University
42 questions
CYBER THINK QUEST
Presentation
•
University
38 questions
vocabulary
Presentation
•
University
38 questions
1. Computational Thinking
Presentation
•
12th Grade
Popular Resources on Wayground
20 questions
Math Review
Quiz
•
3rd Grade
15 questions
Fast food
Quiz
•
7th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
10 questions
Identify Fractions, Mixed Numbers & Improper Fractions
Quiz
•
3rd - 4th Grade
Discover more resources for Computers
20 questions
Guess The App
Quiz
•
KG - Professional Dev...
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
19 questions
Minecraft
Quiz
•
6th Grade - Professio...
40 questions
8th Grade Math Review
Quiz
•
8th Grade - University
20 questions
Block Buster Movies
Quiz
•
10th Grade - Professi...
10 questions
Would you rather...
Quiz
•
KG - University
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
14 questions
Superhero
Quiz
•
1st Grade - University