Skip to content

Commit

Permalink
Add instructions for web browser output
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerpoon committed Nov 13, 2017
1 parent 6c8cdc4 commit d3639e7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Expand Up @@ -61,6 +61,19 @@ You can then execute all of your modularized tests by importing them into the ma

JSPPUnit.run();

## Web Browser Output

`js++Unit` supports web browser output if executed inside a web browser. Simply include the compiled `.jspp.js` file for your tests:

<!DOCTYPE html>
<head>
<title>js++Unit Web Browser</title>
</head>
<body>
<script type="text/javascript" src="../path/to/tests_main_file.jspp.js"></script>
</body>
</html>

## License

MIT License

0 comments on commit d3639e7

Please sign in to comment.