Codeception / Codeception/module-mongodb
Is it possible to use this without using the dump functionality?
- Vorherrschende Sprache
- PHP
- Sterne
- 2
- Forks
- 11
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Dear,
We would like to use the action functionality (dontSeeInCollection, ...) but we are not using the dump functionality.
When we run the tests, we get an error.
`In MongoDb.php line 120:
[Codeception\Exception\ModuleConfigException]
MongoDb module is not configured!
File with dump doesn't exist.
Please, check path for dump file: tests/_data/dump`
At the moment dump_type is required. Would it be possible to make this optional or maybe create a MongoDb::DUMP_TYPE_NONE?
We would also do the clean up after the tests by our selfs.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne bei MongoDb.php Zeile 120 und verfolge, warum das Modul dump_type und tests/_data/dump benötigt, bevor Aktionen wie dontSeeInCollection ausgeführt werden können. Als erledigt gilt, dass die Aktionen ohne Dump-Funktionalität funktionieren, während die Bereinigung weiterhin in der Verantwortung des Aufrufers liegt und das Modul diesen Konfigurationsfehler nicht mehr auslöst.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- mongodb, php
- Bereich
- databases
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100