This commit is contained in:
2026-05-11 09:15:08 +02:00
parent 9bec2b9e42
commit 404ee3fec4
641 changed files with 416825 additions and 0 deletions
@@ -0,0 +1,17 @@
#Import-Module
& "$PSScriptRoot\updateATAP.ps1"
InModuleScope ATAPHtmlReport {
Describe 'Testing Get-MitreTechniqueName' {
It 'tests with example values' {
Get-MitreTechniqueName -TechniqueID "T1591" | Should -Be 'Gather Victim Org Information'
Get-MitreTechniqueName -TechniqueID "T1056" | Should -Be 'Input Capture'
Get-MitreTechniqueName -TechniqueID "T1056" | Should -BeOfType String
}
It 'tests with wrong values' {
Get-MitreTechniqueName -TechniqueID "TXXXX" | Should -Be $null
Get-MitreTechniqueName -TechniqueID "TXXXX" | Should -Not -Be 'Input Capture'
}
}
}