Configuring ant to run unit tests. Where should libraries be? How should classpath be configured? avoiding ZipException

后端 未结 5 1773
花落未央
花落未央 2021-02-05 08:18

I\'m trying to run my junit tests using ant. The tests are kicked off using a JUnit 4 test suite. If I run this direct from Eclipse the tests complete without error. However i

5条回答
  •  难免孤独
    2021-02-05 08:32

    If you are using Ubuntu or Debian, this will make JUnit (and some other libs) always available for Ant:

    sudo apt-get install ant-optional
    

提交回复
热议问题