4ebba1298a
release: v1.12.0
2021-07-26 22:46:22 +01:00
2e0d1bb5a0
Merge branch 'master' of https://github.com/pestphp/pest
2021-07-26 22:45:08 +01:00
09d2b16767
docs: updates changelog
2021-07-26 22:45:03 +01:00
f56556eb73
Merge pull request #357 from jordanbrauer/fix-static-hooks
...
Fix static hooks
2021-07-26 22:33:58 +01:00
f387ca8624
Merge pull request #353 from rezaamini-ir/master
...
Add --force flag to pest:test command
2021-07-26 22:27:08 +01:00
863ddea50b
style: split assignment into two lines clarity
2021-07-22 17:54:22 -05:00
00b4bb6305
Merge branch 'master' into fix-missing-dataset-errors
2021-07-21 21:26:33 -05:00
60c0ad006f
fix: prevent the global hooks from piling up ( #351 )
...
this happens due to the global `*All()` hooks (before & after) being
defined as static. We should be a good citizen and we need to clean up
our mess for the next person in the test instance constructor
2021-07-21 20:38:20 -05:00
595bbe32a4
Add bool to the condition
2021-07-22 01:41:12 +04:30
328427bfdb
docs: update changelog
2021-07-21 12:59:45 +01:00
5e0a0855ea
Add a better description
2021-07-21 14:38:11 +04:30
7ec3460d73
Add --force flag to pest:test command
2021-07-21 13:02:09 +04:30
82c18d3848
Type fixes
2021-07-21 07:58:05 +01:00
371620d161
Adds support for receiving datasets in higher order tests
2021-07-21 07:40:19 +01:00
d10281f851
Adds test cases for loggers and removes use of str_starts_with.
2021-07-19 12:59:18 +01:00
05f72f9b6d
Aligns test case name with test names
2021-07-16 17:59:07 +01:00
f9de1b9c00
Refactor
2021-07-16 17:51:12 +01:00
9516e56242
Improves test case name styling
2021-07-16 17:50:18 +01:00
5f315fc899
Updates warning color
2021-07-16 17:46:30 +01:00
e59606818d
More work on output
2021-07-16 17:26:48 +01:00
e16104350e
More work on output
2021-07-16 16:45:35 +01:00
5b310f6f93
More work on output
2021-07-16 15:58:44 +01:00
0200f90e9a
Start of work on better TeamCity output
2021-07-16 15:06:10 +01:00
13781dcd14
Fixes the assertion output showing as 0 in the TeamCity logger.
2021-07-16 13:17:33 +01:00
164bad437a
Fixes the assertion output showing as 0 in the TeamCity logger.
2021-07-16 13:10:30 +01:00
d90ddf889c
docs: update changelog
2021-07-12 11:54:40 +01:00
5907164749
Merge pull request #341 from pestphp/hot-hoe
...
Adds support for Higher Order Expectations in Higher Order Tests
2021-07-12 11:52:04 +01:00
eb6de433b7
docs: update changelog
2021-07-11 09:08:31 +01:00
c160d97428
Forces higher order test callable expects to be closures.
2021-07-11 07:56:02 +01:00
2a8de0565f
Adds support for Higher Order Expectations in Higher Order Tests
2021-07-09 16:50:15 +01:00
50ece576a7
Improves type-hinting for target in HigherOrderTapProxy
2021-07-09 16:09:53 +01:00
9c202fa2d7
Improves type-hinting for tap method
2021-07-09 16:07:37 +01:00
e4e9cb09e4
docs: update changelog
2021-07-09 09:15:22 +01:00
dd05452edd
Renames a property to be more inclusive.
2021-07-08 18:39:09 +01:00
99ea9f42e5
Allows you to just specify an exception message when calling throws.
2021-07-08 18:32:02 +01:00
7d6a86adc7
docs: update changelog
2021-07-08 18:11:02 +01:00
5049b996db
Merge branch 'master' into skip-closure-support
...
# Conflicts:
# src/Support/HigherOrderMessage.php
2021-07-08 17:50:48 +01:00
e45c4ff4f1
Refactors HigherOrderMessage
2021-07-08 17:30:39 +01:00
fa3959db17
Type hints for callable
2021-07-08 13:12:30 +01:00
b97e206f7a
Closures passed to the skip method are now bound to the test case to allow for more complex logic.
2021-07-08 09:44:28 +01:00
7e9edecc7f
Higher Order Tests now resolve callable expectations. The tap method now always returns the test case.
2021-07-06 14:05:40 +01:00
dc75b34deb
refactor: move logic into boolean method in TestCaseFactory
2021-06-30 09:51:49 -05:00
8e22803797
Merge branch 'master' into fix-missing-dataset-errors
2021-06-30 09:04:20 -05:00
c290909eb3
Adds @mixin for HigherOrderCallables class
2021-06-25 09:24:16 +01:00
e6b258534a
Merge branch 'master' into higher-order-tap-and-defer
...
# Conflicts:
# tests/.snapshots/success.txt
2021-06-24 22:57:48 +01:00
acef002a2d
Adds tap for Higher Order tests
2021-06-24 22:57:26 +01:00
11ebe014fb
docs: update changelog
2021-06-24 21:44:57 +01:00
fbcb492c79
Simplification
2021-06-24 21:40:24 +01:00
ff527baa1d
Allows and in Higher Order Expectations.
2021-06-24 21:31:12 +01:00
82bd836ae9
Merge branch 'master' into fix-missing-dataset-errors
2021-06-21 19:50:15 -05:00