Every time you push a change to your repo, you do not have to run composer update.
composer require --dev silverstripe/sqlite3
<php> <get name="db" value="sqlite3"/> </php>
Thanks Gordon (and all others who replied)
How do you enable SQLite for tests? As described here: https://docs.silverstripe.org/en/3.2/developer_guides/testing/unit_testing/#use-sqlite-in-memory ?
Is there a way to set that parameter via XML (phpunit.xml)? I mean, adding it to the command-line is ok, but I'd prefer it would just use SQLite by default.
Hi all,
here is an example for a _ss_environment switch to sqlite:
http://www.silverstrip.es/blog/how-to-speed-up-unit-tests-using-sqlite/
In shell you can also call one test directly, e.g. using
phpunit --filter testNameOfMytest path/to/tests '' db=sqlite3
Cheers,
Werner
--