diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index d4f9a74..9cf4224 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -17,6 +17,9 @@ jobs:
name: Run tests on PHP v${{ matrix.php-version }}
+ env:
+ TASKMASTER_TEST_TIME_FACTOR: 100
+
steps:
- name: Checkout code
uses: actions/checkout@v3
diff --git a/README.md b/README.md
index fbb2ac7..f320263 100644
--- a/README.md
+++ b/README.md
@@ -209,6 +209,25 @@ class SynchronizedFieldTask extends \Aternos\Taskmaster\Task\Task
The result of this task is `6` because the `counter` property is synchronized and increased on both sides.
+### Serialization in other classes
+The [`OnParent`](src/Task/OnParent.php), [`OnChild`](src/Task/OnChild.php) and [`OnBoth`](src/Task/OnBoth.php)
+attributes are only available in your [`Task`](src/Task/Task.php) class. If other objects are serialized but
+contain properties that should not be serialized, you can use the
+[`SerializationTrait`](src/Communication/Serialization/SerializationTrait.php) in your class
+and then add the [`Serializable`](src/Communication/Serialization/Serializable.php) or [`NotSerializable`](src/Communication/Serialization/NotSerializable.php)
+attributes to your properties.
+
+You can use the [`Serializable`](src/Communication/Serialization/Serializable.php) attribute to mark properties that should be serialized.
+When using only the [`Serializable`](src/Communication/Serialization/Serializable.php) attribute, all properties that are not marked with the
+[`Serializable`](src/Communication/Serialization/Serializable.php) attribute will be ignored.
+
+You can use the [`NotSerializable`](src/Communication/Serialization/NotSerializable.php) attribute to mark properties that should not be serialized.
+When using only the [`NotSerializable`](src/Communication/Serialization/NotSerializable.php) attribute, all properties that are not marked with the
+[`NotSerializable`](src/Communication/Serialization/NotSerializable.php) attribute will be serialized.
+
+When using both attributes, all properties **must** be marked with either the [`Serializable`](src/Communication/Serialization/Serializable.php)
+or [`NotSerializable`](src/Communication/Serialization/NotSerializable.php) attribute, otherwise an exception will be thrown.
+
### Handling the result
The `Task::handleResult()` function is called when the task returns a value. It can be used to handle
diff --git a/phpunit.xml b/phpunit.xml
index 8f1dc53..244de26 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -5,8 +5,11 @@
colors="true"
testdox="true">
-
- test/Environment/
+
+ test/Integration/
+
+
+ test/Unit/