2021-01-20 14:11:00 +07:00
|
|
|
$os = Get-OSVersion
|
|
|
|
|
|
2021-11-18 17:23:05 +03:00
|
|
|
Describe "Rust" {
|
2021-01-20 14:11:00 +07:00
|
|
|
Context "Rust" {
|
|
|
|
|
It "Rustup is installed" {
|
|
|
|
|
"rustup --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
It "Rustc is installed" {
|
|
|
|
|
"rustc --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Context "Cargo" {
|
|
|
|
|
It "Cargo is installed" {
|
|
|
|
|
"cargo --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Context "Cargo dependencies" {
|
|
|
|
|
It "bindgen" {
|
|
|
|
|
"bindgen --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
It "cbindgen" {
|
|
|
|
|
"cbindgen --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
It "Cargo audit" {
|
|
|
|
|
"cargo audit --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
It "Cargo outdated" {
|
|
|
|
|
"cargo outdated --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|