Skip to content

longhorn/longhorn-tests

Repository files navigation

Longhorn Test cases

This repo hosts the manual and automated end-to-end test cases for Longhorn.

Manual Test Cases

Some scenarios are hard to test using the automation tests and are documented as manual test cases that need to be verified before release. The manual test cases are accessible here.

The manual test case pages can be edited under docs/content/manual/.

To categorize tests, place them in sub-directories under docs/content/manual/. These sub-directories must contain a file named _index.md with the following:

---
title: Name of Test Category
---
Optional description regarding the test category.

Each test page should be structured as such:

---
title: Name of Test Case
---
Description of the test case.

Both of these files can contain Markdown in the title and page body.

Automated end-to-end test cases

Generated end-to-end integration test case documents for automation tests are accessible here.

The test cases are in https://github.com/longhorn/longhorn-tests/tree/master/manager/integration .

See here for daily automation test results.

Preview the website

To preview the website changes, you will need to install Hugo. Once Hugo is installed, run the following:

hugo server --buildDrafts --buildFuture

The site will be accessible at http://localhost:1313.