Skip to content

HamuelSD/SoftwareTesting_Lab1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Software Testing - Lab 1

1/18/26 | Samuel Harvey

Overview

For Lab 1, we were asked to evaluate and test a simple function that determines if a calendar year, represented as an integer, is a leap year. The function should return a Boolean of “True” if it is a leap year and “False” if it is not.

We needed to evaluate this program based on the four internal logic tests it uses to determine if a year is, in fact, a leap year. This splits our equivalence partitions into four distinct groups, and we should test a value from each partition to ensure the function is working as required. For this assignment, we will assume the function is called “leapYear”.

Additionally, we had to document what our test inputs and expected outputs are, which will be included in a broad overview table. Finally, we needed to provide a “Devil’s Advocate” account of things that our tests could potentially miss.

Repository Contents

testCases.cpp | Test cases implemented in C++ style pseudocode
Analysis.md | Test case analysis table and rationale
devilsAdvocate.md | This aligns with part 3

About

Spring 2026 Software Testing Lab 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages