WordPress/wordpress-playground

Unit test Blueprints v1

adamziel opened this issue · 1 comments

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.

cc @reimic

On it!