X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/6dd89ba9560db36dece3b17529f4db55f96c25f5..refs/pull/4049/head:/dev/docs/development.md diff --git a/dev/docs/development.md b/dev/docs/development.md index 6d11443b6..b68f2664a 100644 --- a/dev/docs/development.md +++ b/dev/docs/development.md @@ -5,6 +5,8 @@ When it's time for a release the `development` branch is merged into release wit * [Node.js](https://nodejs.org/en/) v16.0+ +## Building CSS & JavaScript Assets + This project uses SASS for CSS development and this is built, along with the JavaScript, using a range of npm scripts. The below npm commands can be used to install the dependencies & run the build tasks: ``` bash @@ -27,6 +29,8 @@ The testing database will also need migrating and seeding beforehand. This can b Once done you can run `composer test` in the application root directory to run all tests. Tests can be ran in parallel by running them via `composer t`. This will use Laravel's built-in parallel testing functionality, and attempt to create and seed a database instance for each testing thread. If required these parallel testing instances can be reset, before testing again, by running `composer t-reset`. +If the codebase needs to be tested with deprecations, this can be done via uncommenting the relevant line within the TestCase@setUp function. + ## Code Standards PHP code standards are managed by [using PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer).