This commit is contained in:
@@ -12,7 +12,6 @@ final class DokumentationsstrukturTest extends TestCase
|
||||
public function modulReadmes(): array
|
||||
{
|
||||
return [
|
||||
['Batterie'],
|
||||
['Waermepumpe'],
|
||||
];
|
||||
}
|
||||
@@ -29,6 +28,17 @@ final class DokumentationsstrukturTest extends TestCase
|
||||
self::assertStringContainsString('Properties', $inhalt);
|
||||
}
|
||||
|
||||
public function testBatterieDokumentiertDenImplementiertenStand(): void
|
||||
{
|
||||
$inhalt = file_get_contents(__DIR__ . '/../docs/module/Batterie/README.md');
|
||||
self::assertNotFalse($inhalt);
|
||||
self::assertStringContainsString('Status: implementiert', $inhalt);
|
||||
self::assertStringContainsString('Properties', $inhalt);
|
||||
self::assertStringContainsString('Registeradapter', $inhalt);
|
||||
self::assertFileExists(__DIR__ . '/../docs/Schnittstelle-Batterie.md');
|
||||
self::assertFileExists(__DIR__ . '/../docs/migration/Batterie.md');
|
||||
}
|
||||
|
||||
public function testPufferspeicherDokumentiertDenImplementiertenStand(): void
|
||||
{
|
||||
$inhalt = file_get_contents(__DIR__ . '/../docs/module/Pufferspeicher/README.md');
|
||||
|
||||
Reference in New Issue
Block a user