smattingly / client-side-js-tests Goto Github PK
View Code? Open in Web Editor NEWA set up to test client side JavaScript code using mocha, with results displayed in HTML page.
License: MIT License
A set up to test client side JavaScript code using mocha, with results displayed in HTML page.
License: MIT License
If all tests pass except for the last, the percentage indicator in testResults.html
shows 100%, which seems wrong.
This behavior was "inherited" from the mocha.org
example (see comment at top of testResults.html
) or maybe from the HTML reporter for mocha. This will require some research outside of this repo.
If the page title were modified to show an indication of whether all tests pass or not, it would show in browser tabs. This would allow users to verify no failures have been introduced, without skipping back and forth between browser tabs.
runTests.html
is a poor name, because students are asked to right-click this file in c9 and Preview, not Run it. Note that changing this will require changes to README instructions for student assignment repos that use this submodule.
I'm just checking out your library -- haven't tried using it yet! -- but I bet you could write a simple npm script i nthe assignment repos that exported a list of test files, and then load those tests inside runTests.html?
If yo uthink this is promising I will try to put together a PR in the next week or so. Are you still using htis method?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.