Skip to content

Commit 2f8f202

Browse files
bedaHovorkaclaude
andcommitted
Document disabled tests with GitHub issue #56 reference
Add GitHub issue #56 reference to MainArgumentParsingTest disabled test annotations and class-level documentation. This links the 29 disabled tests to the tracking issue for the System.exit(1) bug in Main.createContext(). Changes: - Add "GitHub Issue: #56" to class-level javadoc - Update @disabled annotations to reference issue #56 - Improves traceability for disabled tests Related: #56 - Main.createContext() System.exit(1) issue Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b262de5 commit 2f8f202

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/test/kotlin/cz/vutbr/fit/interlockSim/MainArgumentParsingTest.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ import java.io.PrintStream
6868
*
6969
* To re-enable this test class, Main.createContext() must be refactored to NOT call System.exit()
7070
* or use a configurable exit handler for testing.
71+
*
72+
* GitHub Issue: #56
7173
*/
72-
@Disabled("BUG-001: Main.createContext() calls System.exit(1), killing test JVM. See class javadoc for details.")
74+
@Disabled("BUG-001: Main.createContext() calls System.exit(1), killing test JVM. See GitHub issue #56")
7375
class MainArgumentParsingTest {
7476
private lateinit var systemErr: PrintStream
7577
private lateinit var capturedErr: ByteArrayOutputStream
@@ -328,7 +330,7 @@ class MainArgumentParsingTest {
328330
}
329331

330332
@Test
331-
@Disabled("BUG-001: Main.createContext() calls System.exit(1) on ContextCreationException, killing test JVM")
333+
@Disabled("BUG-001: Main.createContext() calls System.exit(1) on ContextCreationException. See GitHub issue #56")
332334
fun `invalid file path shows error`() {
333335
// Arrange
334336
val args = arrayOf("sim", "/nonexistent/path/to/file.xml")

0 commit comments

Comments
 (0)