Comments (9)
@ScottFreeCode Yes they are different. test.js
contains the utilities for running the tests, while test_js_deps.js
is an automatically generated file specifying what to goog.require
. Unfortunately I don't have access to this file now. Even if I did, I don't think it can be added to the repository easily. For now, I guess you can comment out the line
<script src="./test_js_deps.js"></script>
, see what namespaces are missing, and include them manually.
from wicked-good-xpath.
(I mean without opening each html file in /test). I'm wondering if there is a
way to run all of them at once, in phantomJS ideally.
Original comment by [email protected]
on 12 Mar 2015 at 3:19
- Added labels: ****
- Removed labels: ****
from wicked-good-xpath.
Internally at Google, the tests are run with Bazel using rules similar to those in https://github.com/bazelbuild/rules_closure. I will see if those rules can be used to run the tests in this project.
from wicked-good-xpath.
Is the difference between the test.js
filename and test_js_deps.js
referenced in the pages significant?
from wicked-good-xpath.
Alright, finally got it working; thanks!
from wicked-good-xpath.
@ScottFreeCode Good to hear!
from wicked-good-xpath.
I'm still a bit confused here. So is there a way to run the tests automatically out of the box or do we have to run them one at a time? Is there additional software to install? If so, can it be added to the devDependencies and the gulp file updated so that it can basically be a single command to run all tests?
from wicked-good-xpath.
@bedney I'm working on a workflow that will allow running tests out of the box.
from wicked-good-xpath.
@Dominator008 - Thank you sir! I appreciate it!
from wicked-good-xpath.
Related Issues (20)
- Precompiled wgxpath.install.js contains loads of extra comments HOT 1
- Wildcard on element step returns 0 results HOT 1
- Comparison arguments inverted in `primitive <op> nodeset` case. HOT 1
- Bulid with Closure Compiler's official NPM package
- TypeError: 'localName' is null or not an object HOT 1
- How to use within Node and Browser HOT 8
- Attr no longer innherits from Node in DOM4: breaks wgxpath.NodeSet.merge HOT 2
- Tag name production is too strict
- XML descendant problem HOT 3
- bower main HOT 1
- wgxpath cannot evaluate upper case. HOT 8
- wgxpath doesn't work with textarea tag after changing input value HOT 3
- add dist folder
- Need Wiki/Doc about WGXPath HOT 3
- Can't resolve anything but DIV in a specific scenario(JS FIDDLE Attached) HOT 2
- createRange function missing with jsdom 15.2.0 HOT 1
- How to use in react project HOT 6
- Library status?
- Simple XPath with namespaces not working
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 wicked-good-xpath.