Skip to content
Browse files

Test running docs

  • Loading branch information...
1 parent c89a0ff commit e96322f54e7478dee49643c8eb9b15d3ad1d11c0 @tmcw tmcw committed
Showing with 19 additions and 1 deletion.
  1. +19 −1
@@ -51,10 +51,28 @@ Every function has a comment that ideally includes:
* If the function depends on another function in the library, a note of this, like
`depends on mean()`
+## Tests
+`simple-statistics` has a testsuite located in `test/spec/`. Each test file
+covers a specific topic and tries to test against known values:
+* Values produced by trusted statistics software like R or scipy
+* Common-sense results
+Tests can be run in [node.js]( and are run on every commit
+to GitHub by Travis-CI.
+To run tests:
+npm install
+npm test
## Documentation
While the code is meant to readable, it is not documentation. We maintain
-documentation in ``, which as the simple form:
+documentation in ``, which has the simple form:
### .geometric_mean(x)

0 comments on commit e96322f

Please sign in to comment.
Something went wrong with that request. Please try again.