Update Creating A New Test authored by Derek Williams's avatar Derek Williams
Page for creating a new test The tests depend on annotations to execute correctly. If you're not sure what an annotation is in Java, you can learn more about them [here](https://jenkov.com/tutorials/java/annotations.html).
\ No newline at end of file
The following annotations are used to setup some things before the tests actually run.
## @GameTest
The GameTest annotation requires a String parameter. This parameter is the module that you are creating your test for. If you are creating your test in the GameShared module, your annotation line will look like the following: **@GameTest("GameShared")**.
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