Git Product home page Git Product logo

Comments (9)

Dominator008 avatar Dominator008 commented on May 9, 2024 1

@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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 9, 2024
(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.

Dominator008 avatar Dominator008 commented on May 9, 2024

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.

ScottFreeCode avatar ScottFreeCode commented on May 9, 2024

Is the difference between the test.js filename and test_js_deps.js referenced in the pages significant?

from wicked-good-xpath.

ScottFreeCode avatar ScottFreeCode commented on May 9, 2024

Alright, finally got it working; thanks!

from wicked-good-xpath.

Dominator008 avatar Dominator008 commented on May 9, 2024

@ScottFreeCode Good to hear!

from wicked-good-xpath.

bedney avatar bedney commented on May 9, 2024

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.

Dominator008 avatar Dominator008 commented on May 9, 2024

@bedney I'm working on a workflow that will allow running tests out of the box.

from wicked-good-xpath.

bedney avatar bedney commented on May 9, 2024

@Dominator008 - Thank you sir! I appreciate it!

from wicked-good-xpath.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.