Commit Graph

107 Commits

Author SHA1 Message Date
Michael 464e888b2f
Clarify .env.testing functionality 2018-05-07 15:09:56 +12:00
Taylor Otwell 3014f1703a formatting 2018-02-13 07:34:47 -06:00
Laurence Ioannou 78fae055d4
Update testing.md 2018-02-13 18:02:41 +09:00
Jim Fisher e73c40f0de
Don't say simply 2018-01-23 17:48:13 +00:00
TiborBesze b40df6d840 Fixed typo 2017-10-19 12:40:38 +00:00
Nathanael Esayeas 0c6b7a7ecc
Update docs to use RefreshDatabase trait 2017-09-08 00:24:48 -05:00
tomopongrac 972c3a1594 Adding brackets. 2017-02-17 12:31:50 +01:00
Taylor Otwell 87f2e41a0d add back security section 2017-01-18 08:42:14 -06:00
Taylor Otwell 1a0861a433 just show in example 2017-01-17 07:56:35 -06:00
Marcus Moore 7981c9ecc9 Update testing.md
As of right now, Artisan creates a feature test by default and there is no `--feature` flag available.
2017-01-16 14:40:46 -08:00
Taylor Otwell 421e99b074 Work on HTTP testing docs. 2017-01-16 16:13:24 -06:00
Taylor Otwell 41ccedb92a Some notes on events and testing. 2017-01-16 10:41:41 -06:00
Taylor Otwell 12a7fb3719 working on testing docs 2016-08-02 12:40:54 -05:00
Taylor Otwell 31e571835d working on middleware docs and updated notes 2016-07-11 20:51:08 -05:00
Kia King Ishii 30034fc310 Fix coding style to match psr-2 2016-07-08 12:22:03 +09:00
Lasse Lehtinen 8fc93d4589 Fixed backticks to single quotes 2016-06-21 09:16:51 +00:00
Taylor Otwell 3c24ac105f wording 2016-06-17 14:47:36 -04:00
Andrew a9fedfcdef add note for creating multiple factory files
if you have a large number of models or many factory types for each model, having them all in the `ModelFactory.php` file quickly becomes unmanageable.  this note explains to users they are free to create multiple files in the `factories` directory, and they don't all have to go in the `ModelFactory.php` file.

IMHO I think multiple files should be the preferred and encouraged way. In fact, we could even make an Artisan `make` command for it as well. Wondering what your thoughts are on that?
2016-06-16 12:06:42 -05:00
Dan Belza 363af42789 Do not use {!! !!} on Htmlables 2016-05-15 03:00:24 +08:00
Taylor Otwell 1db305b7ac change order 2016-04-29 09:27:04 -05:00
JJ See 63ac935529 Added missing documentation for assertSessionMissing($key) 2016-04-29 11:53:25 +08:00
Taylor Otwell 86f71e559f fix wording 2016-03-27 08:51:13 -05:00
Carlos Afonso Pérez b26cc879ba Add note regarding testing environment variables 2016-03-27 12:18:55 +02:00
Taylor Otwell cad7c22ffe tweaking wording 2016-02-16 08:09:32 -06:00
Alessandro Benoit 092ee0474b Add Factory Models relationships definition
Related to https://github.com/laravel/framework/pull/12231
2016-02-15 17:48:45 +01:00
Ryan Tablada ed1e19d158 Update JSON post example to use `$this->json` 2016-02-09 11:20:03 -06:00
Taylor Otwell 14af7a5ef2 update docs 2016-01-22 12:15:32 -06:00
Taylor Otwell 0e1128a0e2 fix wording 2016-01-22 12:14:01 -06:00
Taylor Otwell 3b9413d696 Merge branch 'patch-3' of https://github.com/EliasZ/docs into EliasZ-patch-3 2016-01-22 12:12:26 -06:00
Brian Mosigisi 1d78a07784 remove invalid method 2016-01-21 13:01:37 +03:00
EliasZ 69d8b304aa Add asterisk notation to seeJsonStructure documentation 2016-01-18 21:37:56 +01:00
Taylor Otwell 2872164093 work on wording 2016-01-14 09:01:05 -06:00
Sébastien Nikolaou b92cf08db4 Add docs for `doesntExpectEvents` method 2016-01-13 21:09:25 +02:00
Taylor Otwell a19631d489 fix wording 2016-01-13 08:38:55 -06:00
EliasZ 92f0b1ad9d add seeJsonStructure documentation 2016-01-11 20:29:03 +01:00
ohnotnow 039e331657 Add a mention of the 'uncheck' form test method 2016-01-10 11:18:21 +00:00
Taylor Otwell 29fb12fcee add note 2016-01-05 17:21:33 -06:00
Taylor Otwell 2d6d744ffc trim example' 2016-01-01 11:21:14 -06:00
hiendv c85c386e70 Specifying guard when using actingAs 2016-01-01 23:37:25 +07:00
Taylor Otwell 552189d8da remove old refs 2015-12-22 10:39:31 -06:00
Kartik Somani 8e6f7a64f3 Corrected the mismatch in emails in the working with database example 2015-12-06 12:08:44 +05:30
Richard Delorier 06c8b27e8a Fix method explanation 2015-11-20 21:39:31 -05:00
Sara Bine 12842d4466 Add a 'PHPUnit Assertions' section to testing.md 2015-11-17 19:39:25 -07:00
Taylor Otwell 559661f036 note on testing 2015-10-19 14:22:31 -07:00
Markus Fischer 469df68771 DatabaseTransactions only affect the first database connection
In response to https://github.com/laravel/framework/pull/10662
2015-10-19 15:13:58 +02:00
Taylor Otwell b443fe1dd0 change wording 2015-09-09 09:42:57 -05:00
Bill Mitchell bcd660e831 Docs on the new make:test command 2015-09-08 07:37:35 +01:00
DrByte 1ad2dadc08 Update examples to class resolution syntax 2015-08-12 18:39:55 -04:00
Ivan Dokov 85d488e1c6 Added type requirement
Added type requirement of the parameter like it is in the code
2015-07-14 17:44:27 +03:00
Ivan Dokov 228230ca7e Fixed example to be like the code 2015-07-14 17:39:47 +03:00