Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix markdown for github's stricter syntax parser #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/unit-test-framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ For now we support

## Usage

###General
### General

To use the unit test framework in your channel, place the framework files in the directory pkg:/source/testFramework/.

Expand Down Expand Up @@ -239,13 +239,13 @@ telnet {Roku box IP address} 8085.
Runner.Run()
end if

###Filtering
### Filtering
To set Include and Exclude filters use SetIncludeFilter and SetExcludeFilter functions. Each function accepts coma-separated names of test cases or array object of strings with test cases names.
If you specify include filter with test case names than ONLY test cases from this list will be executed. Rest of test cases will be skipped.
If you specify exclude filter with test case names than ALL test cases from this filter wont be executed. Exclude filter has higher priority and if you specify some test case in both filters than this test case will be excluded from run.
Include and exclude filters works for @Test, @RepeatedTest and @ParameterizedTest only.

###Logging
### Logging
To set verbosity level call Runner.logger.SetVerbosity(level). There are four verbosity levels in this framework:
* “0” – basic level
* “1” – normal level
Expand Down Expand Up @@ -516,7 +516,7 @@ sub NewApproach_CreateRowlistRepeatTest()
end sub
```

###Test node example
### Test node example

Here is shown what a test node for "MyNode" may look like:

Expand All @@ -535,4 +535,4 @@ Here is shown what a test node for "MyNode" may look like:
<script type="text/brightscript" uri="pkg:/components/tests/Test__MyNode__TestSuite1.brs"/>
<script type="text/brightscript" uri="pkg:/components/tests/Test__MyNode__TestSuite2.brs"/>

</component>
</component>