Comments (5)
Which test framework are you using?
If you implemented a custom one, please consider submitting a PR so that I can review it for you and point out where it went wrong.
It sounds like you forgot to bind the proper handlers for either the ping, complete or submit events. As a result, even when the test is actually done, the inject script isn't being notified and as such keeps doing nothing until eventually the server discards the client when it still hasn't submitted any results. At this point the job is put back in the pool of pending tests for another client to run.
from testswarm.
I'm using funcunit framework, I didn't wrote it yet in the inject.js because I didn't use it so far.. (I know its weird)
I'm using the steal.js to make my test from the framework funcunit. I thought that it would works at least a bit because its like the Qunit test no ?
I'm sorry if I ask too much, but I really don't know how to implement this new framework into testswarm.. :/
from testswarm.
It's like QUnit except that it has a dependency on Selenium. Does your TestSwarm setup now how to handle that?
from testswarm.
I haven't used FuncUnit specifically much, but in general, until you show some code, I can only recommend:
- Move it to inject.js; Look at inject.js#section-qunit for how to write the small bridge you need to add. Add a similar one for FuncUnit.
- Verify that you are loading TestSwarm's inject.js from your own TestSwarm server (not github, not swarm.jquery.org) in your test suite (jQuery example, MediaWiki example)
from testswarm.
I ran into a similar issue; mine turned out to be the order of the scripts. inject.js needs to be included last, so that it can register some hooks into the test, so if you are not careful with your script order (mine was because I had it in the wrong place using require) then the hook doesn't attach properly and won't ever fire back.
from testswarm.
Related Issues (20)
- error while running installation script HOT 2
- IE11 UserAgent detection failed HOT 4
- Use actual frames instead of iframes HOT 1
- Reset all runs does not reset
- 'wiperun' action not distributing test re-runs to browsers HOT 3
- In-file author attribution needs to be updated HOT 3
- Protect clearTimeout in inject.js as well HOT 1
- Document job.runMax HOT 1
- Add browser icon for Microsoft Edge
- The Android icon looks weird HOT 9
- Windows 10 icon is missing HOT 1
- Edge is recognized as Edge 12 HOT 17
- Safari 8+ should have a different icon than older versions
- Each browser gets spawned twice HOT 2
- Edge 14 seems to get stucks 25% of the time HOT 5
- Testswarm does not work with QUnit 2
- Unknown test error HOT 1
- Error: SwarmException: MySQL functions missing. in /var/www/html/testswarm/inc/Database.php:325 HOT 2
- Regression: Dropdown menu empty
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 testswarm.