Skip to content

Commit bcff39a

Browse files
authored
Merge pull request #336 from mewilker/main
Change/add tips regarding unit tests
2 parents ef0692c + fa5a636 commit bcff39a

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

instruction/chess-tips/chess-tips.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Refer to the [Web API](https://github.com/softwareconstruction240/softwareconstr
102102

103103
## AutoGrader can’t find my Unit Tests
104104

105-
Make sure the unit tests are in server/src/test/java/service and the Class has the word Tests in it.
105+
Make sure the unit tests are in server/src/test/java/service and the Class ends with the word `Tests` or `Test`.
106106

107107
## I don't have enough GitHub commits to pass the autograder
108108

@@ -188,6 +188,10 @@ This means they hardcoded the database to chess. Or they need to call createData
188188

189189
Make sure they add both dependencies (specifically the mysql-connector one)
190190

191+
## AutoGrader can’t find my Unit Tests
192+
193+
Make sure the unit tests are in server/src/test/java/dataaccess and the Class ends with the word `Tests` or `Test`.
194+
191195
## Failed to Bind to /0.0.0.0:3306
192196

193197
This is usually due to the fact that port 3306 is already being used by something. First thing is to make sure that the server isn’t running on port 3306 (for example sev.run(3306) instead of sev.run(8080)). If the server is running on port 3306, then mySQL can’t make connections on port 3306. Simple fix is to just make sure they are using different ports -> sev.run(8080) and db.properties has a db.port of 3306.
@@ -233,6 +237,10 @@ Your ServerFacade is probably not in a package. Put it in a package (probably no
233237

234238
See [previous](/instruction/chess-tips/chess-tips.md#General---all-phases)
235239

240+
## AutoGrader can’t find my Unit Tests
241+
242+
Make sure the unit tests are in client/src/test/java/client and the Class ends with the word `Tests` or `Test`.
243+
236244
# Phase 6 - Gameplay
237245

238246
## Unknown opcode: 7

0 commit comments

Comments
 (0)