- Added proper resolve for custom expectations
- Added proper rename for custom expectations
- Added migration startup activity to delete redundant generated
Expectation.php
file
- Fixed infinite "Closing project..." dialog issue on project close
- Reworked custom expectations engine using Symbol API
- Removed
Expectation.php
generation
- Added support for running tests in describe block (#498)
- Fixed property declared dynamically showing warning in pest test cases
- Fixed goto and rerun tests not working on new pest versions
- Changed pest file creation to two actions (tests and dataset)
- Save test flavour preferences when creating a new test
- Added pest file creation support
- Remove test sources filter lookup, as it breaks others plugins
- Fixed file icon missing if all tests has property calls
- Fixed gutter icon not updating state correctly
- Fixed test names with
[
and]
not being matched correctly - Fixed test name casing inspection not working correctly with
it
tests
- Fixed "Preferred Coverage Engine" not being saved
- Fixed ComposerLibraryManager being nullable now.
- Fixed running tests with filenames containing
_
.
- Changed logic for base path to be from composer.json file.
- Added support for running specific tests on Pest 2.0
- Added support for running todo's as tests
- Fixed running tests with
?
in the name
- Added support for test names with string concat statements
- Added stacktrace folding for Pest 2.0 output
- Removed the "test started at" text on the test console output
- Fixed regex to match tests that have both named and unnamed datasets
- Fixed originalFile in iconProvider sometimes being null
- Fixed DuplicateCustomExpectation testing crashing on unfinished inspections
- Added support for using goto location when using remote interpreters
- Fixed nested
readAction
calls in Icon Provider
- Changed Icon Provider to use indexes for better performance
- Added
uses->in
folder reference - Added registry entry for disabling expectation file generation
- Changed goto and completion contributor to reference provider
- Changed icons to use build-in dark mode switching
- Fixed dataset reference error when no dataset provided yet.
- Fixed duplicate type provider key with nette plugin
- Added inspection for checking if dataset exists
- Fixed dataset autocompletion triggering on all strings
- Fixed dataset goto triggering on all strings
- Added converting multiple
expect
toand
calls instead - Added dataset completion
- Added dataset goto
- Fixed automatic case changing on multicased string
- Added automatic case changing to pest test names
- Changed runReadAction to runReadActionInSmartMode in startup activity
- Reduced custom expectation index size by over 95%
- Check if file exist in index (can happen if file is deleted outside IDE)
- Handle path separators per OS
- Added support for dynamic paths in
uses->in
statements - Added inspection for duplicate custom expectation name
- Add surrounder for
expect
- Define root path from phpunit.xml instead of composer path
- Remove
-
from the pest generated regex - Escape
/
in regex method name
- Changed services to light services for auto disposable
- Fixed null pointer error when no virtual file
- Change reporting on GitHub to contain full stacktracepa
- Added higher order expectation type provider
- Added support for xdebug3 and xdebug2 coverage option
- Hide snapshot icon for import statements
- Fix ArrayIndex error from ExpectationFileService
- Fixed wrong file expectation matching in ExpectationFileService
- Add support for in calls
- Added support for running key value datasets
- Changed root path for regex to be based of vendor dir location instead of working directory
- Remove service message newline requirement as method is deprecated
- Moved file generation into smart invocation
- Added gutter icon for snapshots
- Added goto snapshot file
- Rewrote the custom expectation system to use a more robust system
- Updated custom expectation indexer to v2
- Removed decorator in favor of implementing interface
- Invoke the FileListener PSI part later (should fix indexing issues)
- Fixed stub issues on PestIconProvider by wrapping
runReadAction
- Fixed
$this->field
not working when namespace exist - Fixed Concurrent modification errors on expectation file service
- Fixed file generation triggering on projects without pest
- Added new context type for the root of a pest file
- Added post fix template for
it
tests - Added live template for
it
test - Added live template for
test
test - Added light icon for
pest.php
file
- Bumped min IntelliJ version to 2021.1
- Added Suppress inspection for
$this->field
- Fixed php type resolving during event dispatching on file listener
- Fixed PSI and index mismatch on file listener
- Fixed indexes being out of date in file listener
- Removed usage of globalType (needed for 2020.3 support)
- Added structure support for tests
- Added autocompletion for custom expectations
- Added pest icon for the Pest.php config file
- Added symbol contributor for pest tests
- Fixed a read only permission bug when used with Code with me
- Fixed wrong namespace in custom expectations file generation
- Added IntelliJ version to bug report
- Added new Dataset icons (Thanks @caneco!)
- Added test state icons
- Added run all test in file icon
- Fix support for 2021.1
- Fix running tests with circumflex (^)
- Bumped min IntelliJ version to 2020.3
- Added path mapping support (#77)
- Bumped min plugin version to 2020.2
- Bumped Java version to 11
- Disabled version checking (did not work with path mapping) (#77)
- Escape parenthesis in regex for single test (#80)
- Suppressed expression result unused inspection when on Pest test function element. (#84)
- Added support for auto-generated
it
test names. (#72)
- Made the regex tightly bound and reused the same regex in rerun action. (#72)
- Added support for showing pest version (#52)
- Type provider for Pest test functions (#48)
- Added support for navigation between tests and test subject (#53)
- Added error reporting to GitHub issues (#55)
- Added inspection for duplicate test names in same file. (#56)
- Added completions for static and protected $this methods. (#66)
- Added completions $this fields declared in beforeEach functions. (#66)
- Added pcov coverage engine support (#64)
- Fixed duplicate test name error when no test name is given yet. (#61)
- Fixed finding tests with namespace at the top. (#65)
- Fixed allow location to be null in location provider. (#68)
- Fixed rerunning tests with namespaces (#69)
- Fixed running with dataset (#47)
- Added dark/light mode icons (#45)
- Change the name of the plugin
- Basic autocompletion for
$this
for PhpUnit TestCase base class (#11) - Line markers now works, for the whole file and the single test. (#17, #24)
- Add running support with debugger (#19)
$this->field
type support for fields declared inbeforeEach
andbeforeAll
functions (#22)- Run tests scoped based on the cursor (#24, #26)
- Added support for rerun tests when using new pest version (#39)
- Added coverage support with clover output (#39)
- Migrated all Java classes to Kotlin
- Plugin require restart as PhpTestFrameworkType does not support dynamic plugins
- Line markers reported false positives with method calls(#31)
- Initial scaffold created from IntelliJ Platform Plugin Template