You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's unit test the following Blueprint steps that don't have any unit tests yet:
defineSiteUrl
exportWxr
exportWxz
importFile
importWordPressFiles
mkdir
request
runWpInstallationWizard
setPhpIniEntry
rmdir
unzip
writeFile
zipWpContent
In addition, some steps (like installTheme) are tested through runBlueprintSteps and not with a direct call – let's explore simplifying that and using direct calls instead.
Adds tests to the mkdir step.
Tests directory creation minding idempotence and recursivity.
Part of the #756 effort.
---------
Co-authored-by: Adam Zielinski <adam@adamziel.com>
adamziel
changed the title
Unit test Blueprints
Unit test Blueprints v1
Mar 13, 2024
Let's unit test the following Blueprint steps that don't have any unit tests yet:
In addition, some steps (like
installTheme
) are tested throughrunBlueprintSteps
and not with a direct call – let's explore simplifying that and using direct calls instead.cc @reimic
The text was updated successfully, but these errors were encountered: