ls1intum / Artemis

Artemis - Interactive Learning with Automated Feedback
https://docs.artemis.cit.tum.de
MIT License
456 stars 275 forks source link

Restructure Java Tests into Unit, Integration and System Tests #2227

Open jpbernius opened 3 years ago

jpbernius commented 3 years ago

We have different types of tests in the Artemis Project, requiring different types of setup. To make this more clear, we want to restructure our existing tests into three sub-folders:

  1. Unit Tests This includes all tests that do not start the Artemis Server.
  2. Integration Tests This includes all tests that start the Artemis Server and primarily invoke the REST API.
  3. System Tests This includes tests that invoke external components (e.g. Athene or Bamboo) that need to be started before running the tests.
Hassan-Elseoudy commented 3 years ago

May I take this one? @jpbernius @krusche