Skip to content

Exercises fail to compile on Windows #108

Description

@jclc

Running tests with tmc-cli returns the following errors

PS X:\Tiedostot\Projektit\test\cert-test> tmc test
Testing: arith_funcs
warning: Supported source version 'RELEASE_6' from annotation processor 'fi.helsinki.cs.tmc.testscanner.TestMethodAnnota
tionProcessor' less than -source '1.8'
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:2: error: package fi.helsinki.cs.tmc.edutestutils
does not exist
import fi.helsinki.cs.tmc.edutestutils.Points;
                                      ^
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:3: error: package org.junit does not exist
import org.junit.Test;
                ^
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:4: error: package org.junit does not exist
import static org.junit.Assert.*;
                       ^
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:7: error: cannot find symbol
    @Test
     ^
  symbol:   class Test
  location: class ArithTest
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:8: error: cannot find symbol
    @Points("arith-funcs")
     ^
  symbol:   class Points
  location: class ArithTest
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:13: error: cannot find symbol
    @Test
     ^
  symbol:   class Test
  location: class ArithTest
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:14: error: cannot find symbol
    @Points("arith-funcs")
     ^
  symbol:   class Points
  location: class ArithTest
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:19: error: cannot find symbol
    @Test
     ^
  symbol:   class Test
  location: class ArithTest
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:20: error: cannot find symbol
    @Points("arith-funcs")
     ^
  symbol:   class Points
  location: class ArithTest
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:25: error: cannot find symbol
    @Test
     ^
  symbol:   class Test
  location: class ArithTest
X:\Tiedostot\Projektit\test\cert-test\arith_funcs\test\ArithTest.java:26: error: cannot find symbol
    @Points("arith-funcs")
     ^
  symbol:   class Points
  location: class ArithTest
11 errors
1 warning
Failed to connect to server.
Failed to run tests.
null

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions