Skip to content

Status Updates: Template

Raja Soundaramourty edited this page May 13, 2022 · 18 revisions

Environment: Windows

Reference: README

1. Prerequisites Checks

Step: [1.1] Windows Version

Command Executed:

Get-ComputerInfo | select WindowsProductName, WindowsVersion

Output:

Step: [1.2] HyperV is Enabled

Command Executed:

systeminfo

Output:

2. Setup

2.1 Workspace & Applications

Step: [2.1.1] Workspace

Command Executed:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope currentuser
iwr -useb https://raw.githubusercontent.com/rajasoun/win10x-onboard/main/e2e.ps1 | iex
cd ~\workspace
git clone https://github.com/rajasoun/win10x-onboard
cd win10x-onboard
Invoke-Pester src\lib\Workspace.Tests.ps1 -Output Detailed

Output:

Step: [2.1.2] Prerequisite Checks

Command Executed:

Invoke-Pester e2e.Tests.ps1 -Tag "prerequisite"  -Output Detailed

Output:

Step: [2.1.3] Applications Setup

Command Executed:

Invoke-Pester src\lib\Apps.Installer.Tests.ps1 -Output Detailed

Output:

2.2 HyperV

Step: [2.2.1] Enable HyperV

Command Executed:

Start-Process powershell -Verb runas
git pull --rebase
.\e2e.ps1 -type hyperv

Output:

2.3 WSL2 & Kernel Update

Step: [2.3] WSL2 & Kernel Update

Command Executed:

Start-Process powershell -Verb runas
Start-Process powershell -Verb runas
.\e2e.ps1 -type wsl

Output:

2.5 Test Docker Setup

Step: [2.5.1] Docker hello-world

Command Executed:

docker run --rm hello-world

Output:

Step: [2.5.2] Docker speed-test

Command Executed:

MSYS_NO_PATHCONV=1  docker run --rm rajasoun/speedtest:0.1.0 "/go/bin/speedtest-go"

Output:

3. Test

3.1 TDD Scripts

Step: [3.1.1] Workspace Tests

Command Executed:

Invoke-Pester src\lib\Workspace.Tests.ps1 -Output Detailed

Output:

Step: [3.1.2] Application Tests

Command Executed:

Invoke-Pester src\lib\Apps.Installer.Tests.ps1 -Output Detailed

Output:

Step: [3.1.3] HyperV Tests

Command Executed:


Invoke-Pester src\lib\HyperV.Tests.ps1 -Output Detailed

Output:

Step: [3.1.4] WSL2 Tests

Command Executed:


Invoke-Pester src\lib\Wsl.Tests.ps1 -Output Detailed

Output:

Step: [3.2] ATDD Scripts

Command Executed:

Invoke-Pester e2e.Tests.ps1 -Tag "prerequisite"  -Output Detailed
Invoke-Pester e2e.Tests.ps1 -Tag "apps"   -Output Detailed
Invoke-Pester e2e.Tests.ps1 -Tag "hyperv" -Output Detailed
Invoke-Pester e2e.Tests.ps1 -Tag "wsl2"   -Output Detailed

Output:

Clone this wiki locally