personium / personium-core

Core module of Personium
https://personium.io
Apache License 2.0
88 stars 16 forks source link

CHORE: Organize tests to separate unit test and io test #520

Closed shimono closed 4 years ago

shimono commented 4 years ago

Overview

Organize tests to separate the following two categories.

Category Description Package Note
Unit Tests Small Per-Class tests that does not use IO io.personium.core.**Test.java Runs stand-alone
IO Tests Small Per-Class tests that uses IO io.personium.core.test.io.**Test.java You need to set up and configure external middlewares to run them.

Why

This is necessary in order to automate the PR check in Github Action without communicating with Memcached / ElasticSearch.

shimono commented 4 years ago

Let me merge this PR to develop branch for the following reasons: