aboutsummaryrefslogtreecommitdiff
path: root/TESTS.md
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2016-02-18 02:39:55 +0300
committerBen Hilburn <bhilburn@gmail.com>2016-02-18 02:39:55 +0300
commit64d81a2b36a705bbfe5be49e45695b059fa6a16a (patch)
tree589662162c57ef5bc14e709da8e62212168a3709 /TESTS.md
parent2d196fa12ffcd579ea310ad676aac9af51e360b2 (diff)
parent7efc6e41873e6c329f3b66e43ec853a85f0ad5e9 (diff)
Merge pull request #212 from dritter/unit_testing
Adding Unit Tests, supported by Travis-CI
Diffstat (limited to 'TESTS.md')
-rw-r--r--TESTS.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/TESTS.md b/TESTS.md
new file mode 100644
index 00000000..d4e663dc
--- /dev/null
+++ b/TESTS.md
@@ -0,0 +1,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`.