aboutsummaryrefslogtreecommitdiff
path: root/TESTS.md
blob: d4e663dc2051f3a375a1f85736d0e3a542fdc13d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Structure

The Unit-Tests do not follow exactly the file structure of Powerlevel9k itself.

## Basic Tests

Basic Tests belong in `test/powerlevel9k.spec` if they test basic functionality of
Powerlevel9k itself. Basic functions from the `functions` directory have their
Tests in separate files under `test/functions`.

## Segment Tests

These Tests tend to be more complex in setup than the basic tests. To avoid ending
up in a huge single file, there is one file per segment in `test/segments`.