File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
src/test/java/org/hydev/mcpm/utils Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ Final Project for CSC207
8
8
* [ Task List (Projects)] ( https://github.com/users/hykilpikonna/projects/1 )
9
9
* [ Repo in CSC207 Organization] ( https://github.com/CSC207-2022F-UofT/mcpm )
10
10
11
+ ## Development
12
+
13
+ ### Run a specific class in an external terminal
14
+
15
+ ` ./gradlew classes testClasses && build/jdk19/Contents/Home/bin/java -cp "build/classes/java/main:build/classes/java/test" org.hydev.mcpm.<class> `
16
+
11
17
## Brainstorm
12
18
13
19
Server file/endpoint structure:
Original file line number Diff line number Diff line change @@ -74,4 +74,5 @@ if (hasProperty('buildScan')) {
74
74
75
75
test {
76
76
useJUnitPlatform()
77
+ testLogging. showStandardStreams = true
77
78
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class ConsoleUtilsTest
16
16
void move ()
17
17
{
18
18
// NOTE: You must be on a Xterm-compatible TTY for this test to work, which is why it's
19
- // impossible to unit-test
19
+ // impossible to unit-test, and it can't even show up properly on gradle
20
20
var cu = new ConsoleUtils ();
21
21
cu .clear ();
22
22
System .out .println ("Hello World" );
@@ -38,4 +38,8 @@ void move()
38
38
System .out .println ("Erased" );
39
39
}
40
40
41
+ public static void main (String [] args )
42
+ {
43
+ new ConsoleUtilsTest ().move ();
44
+ }
41
45
}
You can’t perform that action at this time.
0 commit comments