Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

funcunit build.js script broken #32

Closed
csosborn opened this issue May 9, 2012 · 5 comments
Closed

funcunit build.js script broken #32

csosborn opened this issue May 9, 2012 · 5 comments

Comments

@csosborn
Copy link

csosborn commented May 9, 2012

The standalone build script for funcunit is broken and has been for quite some time. See http://forum.javascriptmvc.com/topic/right-stand-alone-version-of-funcunit.

It appears that this script was deleted entirely in commit 45f5373, but there is no replacement, the README still references it, and it's still in the latest production download.

@moschel
Copy link
Member

moschel commented May 9, 2012

You're right. The complicated part of the build was usually changing the selenium jar's files and re-zipping it. We no longer do that so now its just copying/moving files around and making a zip. I can whip something up in the next day or two that replicates that (we've been doing it manually). I'm curious what you need this for?

@csosborn
Copy link
Author

csosborn commented May 9, 2012

I'd like to be able to use Funcunit by just including it in an html page, essentially making use of it's Qunit enhancements but without Selenium/PhantomJS and ideally without the Steal dependency. I'm trying to use it in a Spring Java app, and I would at least like to postpone any effort to reconcile Steal and Jawr until I know Funcunit meets my needs.

@csosborn
Copy link
Author

csosborn commented May 9, 2012

I've been trying to manually stitch together a standalone funcunit.js but it doesn't actually work, so apparently I'm doing something wrong. Does funcunit need its own copy of jquery even if there is one already present?

@moschel moschel closed this as completed in 1bb7eb1 Nov 9, 2012
@moschel moschel reopened this Nov 12, 2012
@programcsharp
Copy link

Any changes on this? I want to be able to drop funcunit in to an existing project and start using it, but the massive level of dependencies makes that unworkable.

It'd be nice to be able to reference a built funcunit.js in a .html and just start writing tests. I don't need selenium -- phantomjs should work fine.

If you can give me some direction on what needs to be done, I'd be happy to put together a build script that wraps everything up together.

@alexisabril
Copy link
Contributor

Closing, as of FuncUnit 2.0.x, funcunit is available via a single dist download with the following dependencies:

jQuery on the runner page
QUnit or Jasmine

Standalone build is available via funcunit.com, bower install funcunit or running grunt build from the cloned repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants