tinuwalther / PsNetTools

PsNetTools is a cross platform PowerShell module to test network features on Windows, Linux and Mac.

Home Page:https://tinuwalther.github.io/posts/psnettools.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in PesterTests: Tests Passed: 0, Failed: 0

tinuwalther opened this issue · comments

Describing Testing PsNetTools
[+] Testing PsNetDig with false Hostname as parameter(s) 35ms
[+] Testing PsNetDig with Hostname as parameter(s) 18ms
Tests completed in 0ms
Tests Passed: 0, Failed: 0, Skipped: 0, Pending: 0, Inconclusive: 0

Problem

Import-Module Pester -Force in PsNetTools.Tests.ps1

Solution

if(!(Get-Module Pester)){ Import-Module -Name Pester }