Visitar URL original
GitHub - maester365/maester-tests: Maester: Automated cloud configuration tests · GitHub
Skip to content

About

Maester: Automated cloud configuration tests

Resources

Stars

27 stars

Watchers

2 watching

Forks

Latest commit

 

History

136 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Maester Tests

Important

This repository is for Maester 2.x only. Maester 3.0 doesn't need it.

From Maester 3.0 the tests ship inside the Maester PowerShell module, so you don't need a copy of this repository, a tests folder or Install-MaesterTests. Install the module and run Invoke-Maester. For CI, your repository only needs the pipeline file and, if you want them, a maester-config.json and a custom folder for your own tests.

This repository keeps its 2.x content so that existing 2.x pipelines keep working. It is not updated for 3.0 and will be archived after 3.0 has been out for a release cycle. See Upgrading from 2.x to move to 3.0.

This is a starter repository of Maester tests that you can clone to get started with Maester.

Installation

To get started, install the Maester module, sign into your tenant and run Invoke-Maester to run the tests we've created for you.

Install-Module Maester -Scope CurrentUser

Connect-Maester

Invoke-Maester

See Maester.dev to learn more about writing your own tenant specific tests, setting up continous monitoring of your tenant and more.

Updating your Maester tests

The Maester team will add new tests over time. To get the latest updates, use the commands below to update your GitHub repository with the latest tests.

Step 1: Change to the folder with your tests

Open a command prompt and navigate to the folder where you have your Maester tests.

cd maester-tests\tests

Step 2: Update the Maester module

Update the Maester PowerShell module to the latest version and load it.

Update-Module Maester -Force
Import-Module Maester

Step 3: Update the tests folder

You will be prompted to confirm changes to the tests folder.

  • All of your custom tests in the /Custom folder will be preserved.
  • The test files in the other folders including /EIDSCA, /Maester and /CISA will be overwritten with the latest tests.
Update-MaesterTests

If you are not seeing the latests tests, try closing and reopening your PowerShell session after completing Step 2 (Update-Module).

Note

This repository is a copy of the /tests folder from the main https://github.com/maester365/maester repository. Please open pull-requests and open issues in the main repository.

About

Maester: Automated cloud configuration tests

Resources

Stars

27 stars

Watchers

2 watching

Forks

Used by

Contributors

Languages