8000 [9.x] Adds support for Parallel Testing by nunomaduro · Pull Request #35778 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

[9.x] Adds support for Parallel Testing #35778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 52 commits into from
Jan 13, 2021
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
6418fed
Adds parallel testing
nunomaduro Jan 4, 2021
dcc5112
Fixes "Class MysqlBuilder" not found
nunomaduro Jan 4, 2021
bb004e5
Updates wording when drivers do not support create/drop databases
nunomaduro Jan 4, 2021
8e30c93
Avoids "getenv" and "putenv" in favour of $_SERVER
nunomaduro Jan 5, 2021
36d5e7a
Moves "createDatabaseIfNotExists" to "createDatabase"
nunomaduro Jan 5, 2021
a546cf2
Adds support to "Postgres"
nunomaduro Jan 5, 2021
b0b6243
Fixes CS
nunomaduro Jan 5, 2021
5697ee4
Uses a database per process regardless of the used database testing t…
nunomaduro Jan 7, 2021
07d9cb3
Apply fixes from StyleCI
nunomaduro Jan 7, 2021
d9ba522
Merge pull request #3 from nunomaduro/analysis-wj2l5w
nunomaduro Jan 7, 2021
83f648d
Removes unused catch
nunomaduro Jan 7, 2021
d4afcf2
Merge branch 'feat/adds-parallel-testing' of https://github.com/nunom…
nunomaduro Jan 7, 2021
66d2dcc
Refactors into service providers
nunomaduro Jan 7, 2021
70a231e
Apply fixes from StyleCI
nunomaduro Jan 7, 2021
f08a714
Merge pull request #4 from nunomaduro/analysis-KZ6kV6
nunomaduro Jan 7, 2021
2f60c87
Removes token resolver from the public API
nunomaduro Jan 7, 2021
208bf65
Renames Parallel Testing register callbacks
nunomaduro Jan 7, 2021
447c27b
Fixes CS
nunomaduro Jan 7, 2021
27a2c49
Adds "setUp" process and "tearDown" test case
nunomaduro Jan 8, 2021
e18d25d
Updates Parallel Testing facade
nunomaduro Jan 8, 2021
f140288
Suffixes _test_ on storage too
nunomaduro Jan 8, 2021
2793882
Fixes missing envs for process callbacks
nunomaduro Jan 8, 2021
0cd2df7
Apply fixes from StyleCI
nunomaduro Jan 8, 2021
9749170
Merge pull request #5 from nunomaduro/analysis-OMYD5l
nunomaduro Jan 8, 2021
8c560a6
Ensures "drops" only happen when needed
nunomaduro Jan 8, 2021
0f1e621
Apply fixes from StyleCI
nunomaduro Jan 8, 2021
f690305
Merge pull request #6 from nunomaduro/analysis-e7kaPv
nunomaduro Jan 8, 2021
29d705c
Adds support for SQLite file databases
nunomaduro Jan 11, 2021
52de4b4
Adds tests for SQLite file databases
nunomaduro Jan 11, 2021
f255cee
Lower case create/drop statements
nunomaduro Jan 11, 2021
3d62d42
Adds support for SQL Server
nunomaduro Jan 11, 2021
2a5c678
Apply fixes from StyleCI
nunomaduro Jan 11, 2021
0bb1ca2
Merge pull request #7 from nunomaduro/analysis-d02NGv
nunomaduro Jan 11, 2021
d29bb9d
Adds tests against Parallel Testing callbacks
nunomaduro Jan 11, 2021
b2c3296
Adds tests for parallel console output
nunomaduro Jan 11, 2021
49c4b28
Apply fixes from StyleCI
nunomaduro Jan 11, 2021
df2107d
Merge pull request #8 from nunomaduro/analysis-Zl51bP
nunomaduro Jan 11, 2021
e85ed40
Removes unused lines in tests
nunomaduro Jan 11, 2021
3c6d8d1
Merge branch 'feat/adds-parallel-testing' of https://github.com/nunom…
nunomaduro Jan 11, 2021
cc4bffa
Calls Parallel Testing setUp callbacks after refresh app only
nunomaduro Jan 11, 2021
4f57aac
Cleans folders for parallel testing
nunomaduro Jan 11, 2021
69b9eb0
Makes test databases persist
nunomaduro Jan 12, 2021
b389c43
Apply fixes from StyleCI
nunomaduro Jan 12, 2021
f280ffa
Merge pull request #9 from nunomaduro/analysis-3w0NZr
nunomaduro Jan 12, 2021
528b6bd
Resolve parallel testing callbacks from container
nunomaduro Jan 12, 2021
c15917c
Merge branch 'feat/adds-parallel-testing' of https://github.com/nunom…
nunomaduro Jan 12, 2021
0f4c024
Apply fixes from StyleCI
nunomaduro Jan 12, 2021
85c5558
Merge pull request #10 from nunomaduro/analysis-gOgb36
nunomaduro Jan 12, 2021
f52fa9e
Update TestDatabases.php
taylorotwell Jan 12, 2021
985c3d3
Update ParallelTesting.php
taylorotwell Jan 12, 2021
a3109db
Renames "refresh-databases" to "recreate-databases"
nunomaduro Jan 13, 2021
8e0c299
Merge branch 'feat/adds-parallel-testing' of https://github.com/nunom…
nunomaduro Jan 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removes unused catch
  • Loading branch information
nunomaduro committed Jan 7, 2021
commit 83f648d73eb1da1540286b23ff8ae4fc598ab820
2 changes: 0 additions & 2 deletions src/Illuminate/Testing/ParallelRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ public function run(): void
{
try {
$this->runner->run();
} catch (Throwable $e) {
throw $e;
} finally {
$this->forEachProcess(function ($app) {
$app[ParallelTesting::class]->beforeProcessDestroyed();
Expand Down
0