Verbraucher Warmwassererwaermer implementieren
Tests / test (push) Canceled after 0s

This commit is contained in:
dh
2026-09-16 05:18:01 +00:00
parent 0a3ece3a81
commit 7a3c436039
14 changed files with 1751 additions and 69 deletions
+17 -9
View File
@@ -8,18 +8,17 @@ use PHPUnit\Framework\TestCase;
final class DokumentationsstrukturTest extends TestCase
{
/** @return list<string> */
/** @return list<array{string}> */
public function modulReadmes(): array
{
return [
'Batterie',
'Wassererwaermer',
'Pufferspeicher',
'Verbraucher-1-Stufig',
'Waermepumpe',
'Ladestation-Stand-Alone',
'Ladestation-Gateway',
'Easee-Gateway',
['Batterie'],
['Pufferspeicher'],
['Verbraucher-1-Stufig'],
['Waermepumpe'],
['Ladestation-Stand-Alone'],
['Ladestation-Gateway'],
['Easee-Gateway'],
];
}
@@ -49,4 +48,13 @@ final class DokumentationsstrukturTest extends TestCase
self::assertStringContainsString('Status: Implementiert', $inhalt);
self::assertStringContainsString('Verteilalgorithmus', $inhalt);
}
public function testWarmwassererwaermerDokumentiertDenImplementiertenStand(): void
{
$inhalt = file_get_contents(__DIR__ . '/../docs/module/Wassererwaermer/README.md');
self::assertNotFalse($inhalt);
self::assertStringContainsString('Status: implementiert', $inhalt);
self::assertStringContainsString('Properties', $inhalt);
self::assertStringContainsString('Managerkommunikation', $inhalt);
}
}