Skip to content
/ lab8-start Public template

Starter code for Auction test assignment

Notifications You must be signed in to change notification settings

OOP2020/lab8-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit Tests for Auction

The Auction class contains several variants, most of which contain defects. You can select whcih auction type (variant) to use by calling auction.setAuctionType(int n) with n = 1, ..., 7. Each variant contains different defects, but at least one variant should be bug-free.

Write unit tests for auction and document what defects you find in the table below.

See links below for more information, including how to automate testing using parameterized tests.

Description of Defects

Include the name of your tests and description of the defect.

AuctionType Failing Unit Test Description of Defect
1 testBidWhenAuctionStopped Bids re accepted when auction is stopped
2 testSomethingElse Auction accepts a new bid lower than previous best bid.

References

Lab 8 Labsheet

Parameterized Unit Tests

About

Starter code for Auction test assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages