Skip to content

Commit

Permalink
Update more documentation and links
Browse files Browse the repository at this point in the history
  • Loading branch information
tntim96 committed May 6, 2023
1 parent 28d9767 commit 03f90da
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
8 changes: 4 additions & 4 deletions doc/buzz.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ <h2>JSCover Articles/Blogs</h2>
<p>
<!-- 2016-06-07 --><a href="http://devslice.net/2016/06/js-code-coverage-101/" target="_blank">JS Code Coverage 101</a> Kevin Bronsdijk<br/>
<!-- &lt;!&ndash; 2016-04-15 &ndash;&gt;<a href="https://epxx.co/logbook/entries/testcalc.html" target="_blank">How the RPN calculator app is tested</a> Elvis Pfützenreuter<br/>-->
<!-- 2015-05-04 --><a href="http://edx.readthedocs.org/projects/edx-developer-guide/en/latest/testing/code-coverage.html" target="_blank">edX Developer’s Guide</a> EdX (Massachusetts Institute of Technology and Harvard University)<br/>
<!-- 2014-09-19 --><a href="http://codezine.jp/article/detail/8022" target="_blank">Get Coverage in Javascript</a> Tsuyoshi Anzai, Codezine.jp<br/>
<!-- 2015-05-04 --><a href="https://edx.readthedocs.io/projects/edx-developer-guide/en/latest/testing/code-coverage.html" target="_blank">edX Developer’s Guide</a> EdX (Massachusetts Institute of Technology and Harvard University)<br/>
<!-- 2014-09-19 --><a href="http://codezine.jp/article/detail/8022" target="_blank">Get Coverage in Javascript</a> Tsuyoshi Anzai, Codezine.jp (<a href="https://codezine-jp.translate.goog/article/detail/8022?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp" target="_blank">English version</a>)<br/>
<!-- 2014-05-05 --><a href="http://innovatorsdelight.wordpress.com/2014/05/05/collecting-javascript-code-coverage-during-a-selenium-automation-test-run/" target="_blank">Collecting Javascript “Code” Coverage during a Selenium Automation Test run</a> innovatorsdelight<br/>
<!--&lt;!&ndash; 2014-05-01 &ndash;&gt;<a href="https://www.youtube.com/watch?v=HZCsyuelFtI" target="_blank">JSCover Tutorial</a> Déborah Mesquita<br/>-->
<!-- &lt;!&ndash; 2014-01-26 &ndash;&gt;<a href="http://wojciechszela.com/blog/2014/01/26/unit-testing-in-javascript-jasmine-2-requirejs-jscover-phantomjs/" target="_blank">Unit testing in JavaScript – Jasmine 2.0 + RequireJS + JSCover + PhantomJS</a> Wojciech Szela<br/>-->
<!-- 2013-12-12 --><a href="http://www.slideshare.net/developerforce/df13-x-unitjs-breakout-session" target="_blank">Introduction to Javascript Unit Testing With xUnit.js (+JSCover)</a> Salesforce Developers <br/>
<!--&lt;!&ndash; 2013-12-01 &ndash;&gt;<a href="http://o2js.com/lets-make-a-javascript-framework-boilerplate" target="_blank">Let's Make a JavaScript Framework Boilerplate</a> Volkan Özçelik<br/>-->
<!-- 2013-09 --><a style="float: right;" href="http://www.oreilly.co.jp/books/9784873116358/" target="_blank"><img src="https://www.oreilly.co.jp/books/images/picture_large978-4-87311-635-8.jpeg" alt="Testable JavaScript, O'Reilly Japan" width="73" border="0"/></a>
<a href="http://www.oreilly.co.jp/books/9784873116358/" target="_blank">Testable JavaScript</a> O'Reilly Japan, Mark Ethan Trostler Author, Satoshi Makino translation<br/>
<!-- 2013-07-23 --><a href="http://julianhigman.com/blog/2013/07/23/testing-javascript-with-qunit-phantomjs-and-jscover/" target="_blank">Testing Javascript with QUnit, PhantomJS and JSCover</a> Julian Higman<br/>
<!-- 2013-07-23 --><a href="http://www.julianhigman.com/2013/07/23/testing-javascript-with-qunit-phantomjs-and-jscover/" target="_blank">Testing Javascript with QUnit, PhantomJS and JSCover</a> Julian Higman<br/>
<!-- &lt;!&ndash; 2013-07-18 &ndash;&gt;<a href="http://www.tysoncadenhead.com/blog/javascript-test-coverage-with-jscoverage" target="_blank">Determining JavaScript test coverage with JSCover</a> (alternate <a href="http://web.archive.org/web/20130806085918/http://tysonjs.com/blog/javascript-test-coverage-with-jscoverage" target="_blank">link</a>) &lt;tyson.js/&gt;<br/>-->
<!-- &lt;!&ndash; 2013-07-14 &ndash;&gt;<a href="https://epxx.co/logbook/entries/jscover.html" target="_blank">JSCover: code coverage in Javascript</a> Elvis Pfützenreuter<br/>-->
<!-- 2013-04-09 --><a href="http://wtcindia.wordpress.com/2013/04/09/unit-and-regression-test-automation-of-sencha-applications/" target="_blank">Unit and Regression Test Automation of Sencha applications</a> Ranjit Battewad<br/>
Expand Down Expand Up @@ -45,7 +45,7 @@ <h2>Related Information</h2>
<!-- <a href="https://blog.testspace.com/managing-software-quality-under-continuous-integration/" target="_blank">Managing Software Quality Under Continuous Integration</a> Testspace<br/>-->
<!-- <a href="http://salt.ece.ubc.ca/publications/docs/icst17.pdf" target="_blank">JavaScript: The (Un)covered Parts - SALT Lab</a><br/>-->
<a href="https://github.com/sorrycc/awesome-javascript/blob/master/README.md" target="_blank">Awesome JavaScript</a> chencheng<br/>
<a href="http://researcher.ibm.com/researcher/files/us-kapil/infocom2015.pdf" target="_blank">What is Wrecking Your Data Plan? A Measurement Study of Mobile Web Overhead</a> Abner Mendoza, Kapil Singh, Guofei Gu<br/>
<!-- <a href="http://researcher.ibm.com/researcher/files/us-kapil/infocom2015.pdf" target="_blank">What is Wrecking Your Data Plan? A Measurement Study of Mobile Web Overhead</a> Abner Mendoza, Kapil Singh, Guofei Gu<br/>-->
<a href="http://lup.lub.lu.se/student-papers/record/7357991" target="_blank">Fault Localization Automation using Code Coverage Data and Diff Utilities</a> Jonas Svalin, Axel Hildingson<br/>
<!--<a href="https://explorenexperience.wordpress.com/2015/05/08/angularjs/" target="_blank">AngularJS</a> Explore &amp; Experience<br/>-->
<a href="http://www.thinkmind.org/index.php?view=article&articleid=icsea_2014_10_40_10197" target="_blank">Automatic Unit Test Generation and Execution for JavaScript Program through Symbolic Execution</a> IARIA, 2014<br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ p {
color: #ddd;
}

ul {
ul,ol {
color: #ddd;
margin: 0;
}
Expand Down
19 changes: 12 additions & 7 deletions doc/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,18 @@ <h3>How does JSCover maintain quality?</h3>
<h3>Why won't the coverage report load in Google Chrome or FireFox?</h3>
<h3>Why doesn't the manual load off the file-system in Google Chrome or FireFox?</h3>
<h3>Why don't the web-pages load off the file-system in Google Chrome or FireFox?</h3>
<p>Try:</p>
<ul>
<li>Chrome: start with '--allow-file-access-from-files' switch</li>
<li>FireFox <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp">no longer
allows this</a></li>
</ul>

<p>For Chrome: start with '--allow-file-access-from-files' switch</p>
<p>For FireFox</p>
<ol>
<li>In a new tab, type or paste <b>about:config</b> in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.</li>
<li>In the search box above the list, type or paste <b>uniq</b></li>
<li>Double-click the <b>privacy.file_unique_origin</b> preference to switch the value from true to <b>false</b></li>
<li>Firefox > 106 <b>security.fileuri.strict_origin_policy</b> set <b>false</b></li>
</ol>
<p>
For more information see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp" target="_blank">Reason: CORS request not HTTP</a>.<br>
Answer from <a href="https://stackoverflow.com/questions/51081754/cross-origin-request-blocked-when-loading-local-file#answer-57125361" target="_blank">Cross-Origin Request Blocked when loading local file</a>.
</p>

<h3>Does the developer use JSCover on projects</h3>
<p>Yes.</p>
Expand Down
4 changes: 2 additions & 2 deletions doc/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ <h3>Coverage Features</h3>
<li><a href="manual/manual.xml#fileSystemSave" target="_blank">Run tests in file-system mode and still save the report</a></li>
<li>
Browser independent and can be run headless in
<a href="manual/manual.xml#automatingHtmlUnit" target="_blank">HtmlUnit</a>
<a href="manual/manual.xml#automatingHtmlUnit" target="_blank">HtmlUnit</a><!--
and
<a href="manual/manual.xml#automatingPhantomJS" target="_blank">PhantomJS</a>.
<a href="manual/manual.xml#automatingPhantomJS" target="_blank">PhantomJS</a>-->.
</li>
<li>
Because test coverage is collected in-browser, multiple tests can be run concurrently and
Expand Down
6 changes: 3 additions & 3 deletions doc/links.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ <h2>Used by this project at runtime</h2>

<h2>JSCover Use/Integration</h2>
<p>
<a href="https://github.com/digitalfondue/jscoverproxy-maven-plugin" target="_blank">jscoverproxy-maven-plugin</a><br/>
<a href="http://edx.readthedocs.io/projects/edx-developer-guide/en/latest/testing/code-coverage.html" target="_blank">EdX (Massachusetts Institute of Technology and Harvard University)</a><br/>
<!-- <a href="https://github.com/digitalfondue/jscoverproxy-maven-plugin" target="_blank">jscoverproxy-maven-plugin</a><br/>-->
<a href="https://edx.readthedocs.io/projects/edx-developer-guide/en/latest/testing/code-coverage.html" target="_blank">EdX (Massachusetts Institute of Technology and Harvard University)</a><br/>
<a href="https://github.com/noorulhaq/spring-petclinic" target="_blank">Automated Acceptance Testing (spring-petclinic) with Code Coverage</a><br/>
<!-- <a href="http://pygarden.com/pkg/diff_cover" target="_blank">diff_cover</a><br/>-->
<a href="https://github.com/bdavidxyz/todomvc-under-test/tree/master/coverage" target="_blank">TodoMVC - Under Test</a><br/>
<!-- <a href="https://github.com/bdavidxyz/todomvc-under-test/tree/master/coverage" target="_blank">TodoMVC - Under Test</a><br/>-->
<a href="https://bitbucket.org/thomas_strecker_cc/jscover-legacy" target="_blank">JSCover-legacy - JavaScript coverage via existing selenium tests</a><br/>
<a href="https://github.com/g00dnatur3/jscover-sbt-plugin" target="_blank">Play Framework SBT plugin for JSCover with FluentLenium</a><br/>
<a href="https://github.com/bdorville/jscover-sbt-plugin/" target="_blank">Play Framework SBT plugin for JSCover with Selenium</a><br/>
Expand Down

0 comments on commit 03f90da

Please sign in to comment.