Update Creating A New Test authored by Derek Williams's avatar Derek Williams
......@@ -7,5 +7,5 @@ The GameTest annotation requires a String parameter. This parameter is the modul
This annotation initializes the logger and tells it where to log the data at. It also tells the OptionsManager that we're in testing mode.
## @ResetReportObserverConnector
This annotation simply resets the ReportObserverConnector singleton before each test in the class. This should be added to any test class that uses the ReportObserverConnector to ensure that you're starting with a fresh singleton.
\ No newline at end of file
## Reset Annotations
There are various annotations throughout the codebase that are responsible for resetting different things. An example of this would be the **@ResetReportObserverConnector**, which simply resets the **ReportObserverConnector** singleton. This will be true for most of the other annotations with the word "Reset" at the beginning. There are some annotations that do more than just reset the singleton, but the point of them is to reset the singleton to an **initial** state. Sometimes this might also require adding things to the singleton.
\ No newline at end of file