-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversion PHPUnit into Kahlan test #17
base: main
Are you sure you want to change the base?
Conversation
@MarikaBBB next steps:
|
c417556
to
c13a720
Compare
spec/UseAtomSpec.php
Outdated
use Dxw\Iguana\Extras\UseAtom; | ||
|
||
describe('UseAtom', function () { | ||
// initialisation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove this comment
spec/UseAtomSpec.php
Outdated
|
||
}); | ||
|
||
afterEach(function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we probably don't need this afterEach
, see what happens if you remove it
|
||
|
||
|
||
// Check that this code runs to completion without errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove the check that the code runs to completion because we've used expect()
here
CHANGELOG.md
Outdated
@@ -13,3 +13,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
## [Earlier Releases] | |||
|
|||
Releases up to and including v1.0.0 predate this changelog, but see the [README](README.md) for summary of functionality. | |||
|
|||
## 2025-01-17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we can say ## [Unreleased]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline comments!
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
3f4fede
to
72b26eb
Compare
Description:
use_atom_test.php
to Kahaln , removingWP_Mock
dependencies.phpunit/phpunit
tokahlan/kahlan: ^6.0
in composer.json and CI configuration. This ensure that only tests written in Kahlan will run after this PR is merged.Testing instructions:
composer install
/vendor/bin/kahlan
for testing.