Comments (10)
I can look in to this Jamie, I've already been checking out Karma anyway. I'll give Testem a look as well.
from rmc.
@phleet How do you feel about phantomjs?
from rmc.
PhantomJS is really useful, and we already have it as a dependency, but it doesn't solve the whole problem. You would still need to a build a system for reporting the tests back to the console.
It's also unfortunate that it uses JavaScriptCore (Safari's JS engine), and not V8 (Chrome's JS engine).
It's actually what I ended up using at Khan Academy for rolling my own system to solve this problem, but it can be pretty involved.
I remember that this exists though if you do want to go down that alley: http://metaskills.net/mocha-phantomjs/
from rmc.
So just to be clear, we need something that can report back to the terminal with either a 0 or 1 depending on if all the tests passed, and make deployment conditional on passing the js-tests, correct?
from rmc.
Yep. The second step is really simple given the first.
Ideally it would actually print the test results to the console as well, which should be easy if you use one of the 3 prebuilt systems described (testem, karma, and mocha-phantomjs).
from rmc.
Alright, I have something that seems to work with mocha-phantomjs, assuming I understand you correctly. Since it's already a dependency I shouldn't have to include the source for it, just for mocha-phantomjs right?
from rmc.
Hmm... we currently have no package.json
for listing dependencies in npm.
Judgement call @divad12, @mduan or @jswu? Should we add a package.json
then add npm install
to the setup scripts, or should we check in the source for mocha-phantomjs
?
from rmc.
Anything wrong with the former (package.json
+ npm install
)?
from rmc.
it's just another thing that can get out of sync, but it shouldn't be a problem.
package.json + npm install it is.
from rmc.
I think this can be closed now, I'll reopen it if anything was missed.
from rmc.
Related Issues (20)
- Search by time slot
- Exclude antireq/advanced version
- Exam info showing imported from the "Spring 2014 Final Examination Schedule" HOT 1
- ssl certificate does not contain www.uwflow.com
- Search Function no longer works HOT 2
- Reimporting from quest doesn't delete old calendar events. HOT 2
- where do all the cat photos come from? HOT 1
- SSL cert expired HOT 2
- Site is down
- Information not updated for months on the site HOT 4
- Feature Request: filter courses by time :)
- iCal export broken HOT 3
- Export to Google Calendar comes out blank HOT 7
- Program should be pulled from most recent term HOT 2
- Ideas
- Exporting calendar as ICS or CVS files
- Searchbar Text Cut off on Mobile HOT 1
- Show reserved seats in sections and allow user to receive notifications for a reserved or a non-reserved spot.
- Cannot access uwflow.com HOT 9
- Search without having to focus on the search bar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmc.