Skip to content

Commit

Permalink
Move test code into a separate directory
Browse files Browse the repository at this point in the history
Closes #15
  • Loading branch information
sio committed Sep 7, 2018
1 parent 116b622 commit d8ab696
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Docs/Modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ All modules are grouped into namespaces, much like the standard library:
[Table.NumberColumns]: ../Modules/Table.NumberColumns.pq
[Table.PromoteHeadersNonEmpty]: ../Modules/Table.PromoteHeadersNonEmpty.pq
[Table.UseLastValid]: ../Modules/Table.UseLastValid.pq
[Tests.ConcatenateRows]: ../Modules/Tests.ConcatenateRows.pq
[Tests.UseLastValid]: ../Modules/Tests.UseLastValid.pq
[Tests.ConcatenateRows]: ../Tests/Tests.ConcatenateRows.pq
[Tests.UseLastValid]: ../Tests/Tests.UseLastValid.pq
[UnitTest.Assert]: ../Modules/UnitTest.Assert.pq
[UnitTest.Constants]: ../Modules/UnitTest.Constants.pq
[UnitTest.Discover]: ../Modules/UnitTest.Discover.pq
Expand Down
2 changes: 1 addition & 1 deletion Docs/UnitTesting_with_Facts.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ described previously in this article).
[Fact]: ../Modules/UnitTest.Fact.pq
[Facts.Summarize]: ../Modules/UnitTest.Facts.Summarize.pq
[UnitTest.Discover]: ../Modules/UnitTest.Discover.pq
[sample test]: ../Modules/Tests.MicrosoftUnitTestDemo.pq
[sample test]: ../Tests/Tests.MicrosoftUnitTestDemo.pq
6 changes: 4 additions & 2 deletions LibPQPath-sample.pq
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ LibPQPath:
[
Local = {
"C:\ExtractLocation\LibPQ\Modules",
"D:\ExtractLocation\LibPQ\Modules"
"C:\ExtractLocation\LibPQ\Tests",
"D:\ExtractLocation\LibPQ\Modules",
"D:\ExtractLocation\LibPQ\Tests"
},
Web = {
"https://github.com/raw/sio/LibPQ/master/Modules/",
"https://github.com/raw/tycho01/pquery/master/"
}
]
]
12 changes: 12 additions & 0 deletions Tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Unit tests for LibPQ

This directory contains test suites for LibPQ.

To run these tests:

- [Install LibPQ](../README.md#installation-and-usage)
- Make sure this directory is listed in `LibPQPath`
- Execute `LibPQ("UnitTest.Discover")()`

To learn more about unit testing in Power Query refer to
[LibPQ documentation](../Docs/UnitTesting.md).
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d8ab696

Please sign in to comment.