AddressBook is a single object class for capturing all information related to Snapshots, e.g., the path to the results directory, and Tasks, e.g., paths of XML, screenshot, and other information after executing an action. After adding many attributes and methods to AddressBook, it becomes a god class that is responsible for storing and retrieving information.
We should refactor this class and move different functionalities to different parts.
Notes:
- There are many similarities between
AddressBook and Snapshot classes.
AddressBook is a single object class for capturing all information related to Snapshots, e.g., the path to the results directory, and Tasks, e.g., paths of XML, screenshot, and other information after executing an action. After adding many attributes and methods to AddressBook, it becomes a god class that is responsible for storing and retrieving information.
We should refactor this class and move different functionalities to different parts.
Notes:
AddressBookandSnapshotclasses.