drift/extras/integration_tests/web_wasm
Simon Binder 0de1e43409
Add test
2023-07-06 21:45:38 +02:00
..
lib Add test 2023-07-06 21:45:38 +02:00
test Add test 2023-07-06 21:45:38 +02:00
tool Add wasm integration test using the database 2023-06-11 17:44:04 +02:00
web Update new web documentation 2023-06-15 00:08:14 +02:00
.gitignore Add first integration test for new wasm backend 2023-06-10 22:52:22 +02:00
README.md Add first integration test for new wasm backend 2023-06-10 22:52:22 +02:00
analysis_options.yaml Add first integration test for new wasm backend 2023-06-10 22:52:22 +02:00
build.yaml Add first integration test for new wasm backend 2023-06-10 22:52:22 +02:00
pubspec.yaml Update to stable sqlite3 package 2023-06-17 22:19:31 +02:00

README.md

Integration tests for package:drift/native.dart.

To test persistence, we need to instrument a browsers in a way not covered by the normal test package. For instance, we need to reload pages to ensure data is still there.

Running tests with Firefox

geckodriver &
dart run tool/drift_wasm_test.dart firefox http://localhost:4444

Running tests with Chrome

chromedriver --port=4444 --url-base=wd/hub &
dart run tool/drift_wasm_test.dart chrome http://localhost:4444/wd/hub/